[Superuser] Perbaikan Halaman Akses Superuser
This commit is contained in:
@@ -47,7 +47,7 @@ class EmployeeDetailController extends Controller
|
||||
|
||||
return view('operator.satu.pegawai-detail', [
|
||||
'page' => $page,
|
||||
'crumbs' => ['Beranda' => route('operator.dashboard')] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => route('operator.halaman', self::SLUG), 'Detail' => null],
|
||||
'crumbs' => ['Beranda' => route(auth()->user()->role->dashboardRoute())] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => route('operator.halaman', self::SLUG), 'Detail' => null],
|
||||
'sections' => $sections,
|
||||
'extra' => $extra,
|
||||
'name' => LegacyFormat::pegawaiName($v['gelardepan'], $v['nama'], $v['gelarbelakang']),
|
||||
|
||||
Reference in New Issue
Block a user