From 47d200ef64beb99deb577e8fcfe1134056753617 Mon Sep 17 00:00:00 2001 From: J G <7750475+moarpheus@users.noreply.github.com> Date: Mon, 20 Jun 2022 12:52:32 +0100 Subject: [PATCH] Fix index schemes data coordinator (#675) * allow coordinator to view the list of schemes * fixed the bug * fixed the bug * feature to test data coordinator --- 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)