Add breadcrumb support using Laravel Breadcrumbs package
- Install `diglactic/laravel-breadcrumbs` and update composer dependencies. - Configure breadcrumbs in `config/breadcrumbs.php`. - Define breadcrumbs for admin and site views. - Update base admin controller to include default breadcrumb view.
This commit is contained in:
+3
-1
@@ -15,7 +15,9 @@ final class DocumentationVersionController extends Controller
|
||||
{
|
||||
public function __construct(
|
||||
private readonly DocumentationVersionService $documentationVersionService,
|
||||
) { }
|
||||
) {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function index(int $projectId, IndexRequest $request): View
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user