diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php index 6408a88..ebc2078 100644 --- a/app/Models/Bookmark.php +++ b/app/Models/Bookmark.php @@ -13,6 +13,8 @@ class Bookmark extends Model protected $table = 'bookmarks'; + protected $with = ['tags']; + public function tags(): BelongsToMany { return $this->belongsToMany(Tag::class);