From 0a56badc38b6eb1e4c2c29de816c006e2a79f127 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 14 Jun 2022 06:25:45 +0100 Subject: [PATCH] highlight supported housing for support user --- 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 c0b55c674..642aa22ab 100644 --- a/app/helpers/navigation_items_helper.rb +++ b/app/helpers/navigation_items_helper.rb @@ -45,7 +45,7 @@ private end def supported_housing_current?(path) - path == "/supported-housing" + path.include?("/supported-housing") && !organisations_current?(path) end def organisations_current?(path)