fix attachment model path
This commit is contained in:
@@ -41,6 +41,6 @@ class Post extends Model
|
||||
*/
|
||||
public function attachments()
|
||||
{
|
||||
return $this->morphMany('App\Attachment', 'attachable');
|
||||
return $this->morphMany('App\Models\Attachment', 'attachable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user