Add management of merchandises, enhance imageable trait

This commit is contained in:
Ludovic CANDELLIER
2022-04-16 11:40:19 +02:00
parent 79e5a6388a
commit ee148a27ed
8 changed files with 40 additions and 22 deletions

View File

@@ -26,6 +26,6 @@ class Merchandise extends Model implements HasMedia
public function tags()
{
return $this->morphToMany('App\Models\Shop\Tag', 'taggable');
return $this->morphToMany(Tag::class, 'taggable');
}
}