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

namespace App\Http\Controllers;

use App\Models\BookmarkCategory;
use Illuminate\Support\Facades\DB;
use Illuminate\View\View;

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