diff --git a/src/Controller/MemberController.php b/src/Controller/MemberController.php index b5319f8..593fdac 100644 --- a/src/Controller/MemberController.php +++ b/src/Controller/MemberController.php @@ -22,6 +22,7 @@ class MemberController extends AbstractController private array $navLinks = [], ) { $this->navLinks = NavList::LIST; + $this->navLinks['case_list'] = NavList::PRESENT_LINK; } #[Route('/list-members/{id}', name: 'app_case_members')] @@ -36,7 +37,7 @@ class MemberController extends AbstractController $this->navLinks, [ 'breadcrumbs' => [ - new Breadcrumb($this->generateUrl('app_case_list'), 'List Cases'), + new Breadcrumb($this->generateUrl('app_list_cases'), 'List Cases'), new Breadcrumb($this->generateUrl('app_case_members', ['id' => $id]), 'List Members'), ], 'notifications' => $user->retrieveUnreadNotifications(), @@ -105,7 +106,7 @@ class MemberController extends AbstractController $this->navLinks, [ 'breadcrumbs' => [ - new Breadcrumb($this->generateUrl('app_case_list'), 'List Cases'), + new Breadcrumb($this->generateUrl('app_list_cases'), 'List Cases'), new Breadcrumb($this->generateUrl('app_case_members', ['id' => $id]), 'List Members'), new Breadcrumb($this->generateUrl('app_case_add_member', ['id' => $id]), 'Add Member'), ], @@ -170,7 +171,7 @@ class MemberController extends AbstractController $this->navLinks, [ 'breadcrumbs' => [ - new Breadcrumb($this->generateUrl('app_case_list'), 'List Cases'), + new Breadcrumb($this->generateUrl('app_list_cases'), 'List Cases'), new Breadcrumb($this->generateUrl('app_case_members', ['id' => $caseId]), 'List Members'), new Breadcrumb($this->generateUrl('app_case_edit_member', ['caseId' => $caseId, 'memberId' => $memberId]), 'Edit Member'), ],