From 4405cb19ff73ed12f9b135a184fa8a8d2264489c Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 17 Dec 2024 11:52:48 -0500 Subject: [PATCH] Convert to use NavList::PRESENT_LINK constant --- src/Controller/DefaultController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ) ); } - }