From 0519ff9cae4a6aff5b84a1232cd9d0990ec7a996 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 29 Nov 2023 10:02:41 +0000 Subject: [PATCH] Fix existing bug in schemes nav item highlighting --- app/helpers/navigation_items_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/navigation_items_helper.rb b/app/helpers/navigation_items_helper.rb index 4179f1395..7788b297d 100644 --- a/app/helpers/navigation_items_helper.rb +++ b/app/helpers/navigation_items_helper.rb @@ -57,7 +57,7 @@ private end def supported_housing_schemes_current?(path) - path == schemes_path || path.include?("/schemes/") + path == schemes_path || (path.include?("/organisations") && path.include?("/schemes")) || path.include?("/schemes/") end def organisations_current?(path)