@ -41,7 +41,7 @@ private
end
def users_current?(path)
path == "/users"
path == "/users" || path.include?("/users/")
def supported_housing_current?(path)
@ -57,7 +57,7 @@ private
def subnav_users_path?(path)
path.include?("/organisations") && path.include?("/users") || path.include?("/users/")
path.include?("/organisations") && path.include?("/users")
def subnav_logs_path?(path)
@ -44,11 +44,11 @@ class Scheme < ApplicationRecord
}.freeze
INTENDED_STAY = {
"M" =>"Medium stay",
"P" =>"Permanent",
"S" =>"Short Stay",
"V" =>"Very short stay",
"X" =>"Missing",
"M" => "Medium stay",
"P" => "Permanent",
"S" => "Short Stay",
"V" => "Very short stay",
"X" => "Missing",
REGISTERED_UNDER_CARE_ACT = {