Browse Source

fixed the bug

pull/675/head
JG 3 years ago
parent
commit
1382b7fb1d
  1. 2
      app/components/search_component.rb

2
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)

Loading…
Cancel
Save