From 1382b7fb1d19b1ff83e6d244b58841c6154694af Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 20 Jun 2022 11:51:21 +0100 Subject: [PATCH] fixed the bug --- app/components/search_component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/search_component.rb b/app/components/search_component.rb index b08c1039a..0568d5c96 100644 --- a/app/components/search_component.rb +++ b/app/components/search_component.rb @@ -13,7 +13,7 @@ class SearchComponent < ViewComponent::Base request.path elsif request.path.include?("organisations") && request.path.include?("logs") request.path - elsif request.path.include?("organisations") && request.path.include?("supported-housing") + elsif request.path.include?("organisations") && request.path.include?("schemes") request.path elsif request.path.include?("users") user_path(current_user)