Add management of merchandises, enhance imageable trait
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user