diff --git a/src/Controller/DefaultController.php b/src/Controller/DefaultController.php index 1f9de69..fdad894 100644 --- a/src/Controller/DefaultController.php +++ b/src/Controller/DefaultController.php @@ -32,7 +32,7 @@ class DefaultController extends AbstractController return $this->redirectToRoute('app_register_step', ['step' => RegistrationController::REGISTER_STEP_TWO]); } - $this->navLinks['user_dashboard'] = 'nav-link text-white active bg-gradient-dark'; + $this->navLinks['user_dashboard'] = NavList::PRESENT_LINK; return $this->render( 'internal/dashboard.html.twig', @@ -53,7 +53,7 @@ class DefaultController extends AbstractController { $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY'); - $this->navLinks['profile'] = 'nav-link text-white active bg-gradient-dark'; + $this->navLinks['profile'] = NavList::PRESENT_LINK; return $this->render( 'internal/profile.html.twig', @@ -68,5 +68,4 @@ class DefaultController extends AbstractController ) ); } - }