[Superuser] Perbaikan Halaman Akses Superuser
This commit is contained in:
@@ -13,7 +13,7 @@ trait ServesLegacyList
|
||||
/** @return array<string, ?string> */
|
||||
protected function crumbs(string $slug, array $page): array
|
||||
{
|
||||
return ['Beranda' => route('operator.dashboard')] + array_fill_keys(Catalog::trail($slug), null) + [$page['title'] => null];
|
||||
return ['Beranda' => route(auth()->user()->role->dashboardRoute())] + array_fill_keys(Catalog::trail($slug), null) + [$page['title'] => null];
|
||||
}
|
||||
|
||||
/** @return array{rows: list<array<string, mixed>>, page: int, last_page: int, total: int, per_page: int} */
|
||||
|
||||
Reference in New Issue
Block a user