aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers/BookmarksController.php
blob: 56aacc78285364ad78e701b9f32850a6e295cf11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace App\Http\Controllers;

use App\Models\BookmarkSite;
use App\Models\BookmarkCategory;
use Illuminate\View\View;

class BookmarksController extends Controller
{
    public function show() : View {
        $categories = BookmarkCategory::with('sites')->get();
        return view('bookmarks', compact('categories'));
    }
}