Browse Source

rubocop and redundant check removed

pull/656/head
JG 3 years ago
parent
commit
7fa6018a82
  1. 4
      app/helpers/navigation_items_helper.rb

4
app/helpers/navigation_items_helper.rb

@ -41,7 +41,7 @@ private
end
def users_current?(path)
path == "/users"
path == "/users" || path.include?("/users/")
end
def supported_housing_current?(path)
@ -57,7 +57,7 @@ private
end
def subnav_users_path?(path)
path.include?("/organisations") && path.include?("/users") || path.include?("/users/")
path.include?("/organisations") && path.include?("/users")
end
def subnav_logs_path?(path)

Loading…
Cancel
Save