diff --git a/src/Controller/StaffController.php b/src/Controller/StaffController.php index 1439628..07c02c8 100644 --- a/src/Controller/StaffController.php +++ b/src/Controller/StaffController.php @@ -20,13 +20,12 @@ class StaffController extends AbstractController private array $navLinks = [] ) { $this->navLinks = NavList::LIST; + $this->navLinks['staff_dashboard'] = NavList::PRESENT_LINK; } #[Route('/staff-dashboard', name: 'app_staff_dashboard')] public function staffDashboard(#[CurrentUser()] User $user): Response { - $this->navLinks['staff_dashboard'] = 'nav-link text-white active bg-gradient-dark'; - return $this->render( 'internal/staff/staff-dashboard.html.twig', array_merge(