fix attachment model path

This commit is contained in:
2023-03-29 14:58:41 +10:00
parent f7503d1f20
commit dc7fd81fc5

View File

@@ -41,6 +41,6 @@ class Post extends Model
*/
public function attachments()
{
return $this->morphMany('App\Attachment', 'attachable');
return $this->morphMany('App\Models\Attachment', 'attachable');
}
}