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)