diff --git a/app/Models/Post.php b/app/Models/Post.php index 2fb5b69..c3ed935 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -41,6 +41,6 @@ class Post extends Model */ public function attachments() { - return $this->morphMany('App\Attachment', 'attachable'); + return $this->morphMany('App\Models\Attachment', 'attachable'); } }