From dc7fd81fc56c9cec7b23425a81411ca1cf301e0b Mon Sep 17 00:00:00 2001 From: James Collins Date: Wed, 29 Mar 2023 14:58:41 +1000 Subject: [PATCH] fix attachment model path --- app/Models/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }