Browse Source

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
pull/678/head
J G 3 years ago committed by GitHub
parent
commit
47d200ef64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/components/search_component.rb

2
app/components/search_component.rb

@ -13,7 +13,7 @@ class SearchComponent < ViewComponent::Base
request.path request.path
elsif request.path.include?("organisations") && request.path.include?("logs") elsif request.path.include?("organisations") && request.path.include?("logs")
request.path request.path
elsif request.path.include?("organisations") && request.path.include?("supported-housing") elsif request.path.include?("organisations") && request.path.include?("schemes")
request.path request.path
elsif request.path.include?("users") elsif request.path.include?("users")
user_path(current_user) user_path(current_user)

Loading…
Cancel
Save