Merge pull request #10419 from colinux/switch-domain-feature-user
Tech: l’affichage du bandeau .gouv.fr sticky à l'user
This commit is contained in:
commit
241da41c4c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def switch_domain_enabled?(request)
|
def switch_domain_enabled?(request)
|
||||||
request.params.key?(:switch_domain) || Flipper.enabled?(:switch_domain)
|
request.params.key?(:switch_domain) || Flipper.enabled?(:switch_domain, Current.user)
|
||||||
end
|
end
|
||||||
|
|
||||||
def html_lang
|
def html_lang
|
||||||
|
|
Loading…
Reference in a new issue