Show the tags
This commit is contained in:
parent
abe5063c4a
commit
919a6c22ad
3 changed files with 23 additions and 1 deletions
|
@ -8,7 +8,7 @@ class BookmarksController extends Controller
|
|||
{
|
||||
public function index()
|
||||
{
|
||||
$bookmarks = Bookmark::paginate(10);
|
||||
$bookmarks = Bookmark::with('tags')->latest()->paginate(10);
|
||||
|
||||
return view('bookmarks.index', compact('bookmarks'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue