chore: switch domain feature sticky to user
This commit is contained in:
parent
b93d9fa992
commit
7f25f1eba1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
def html_lang
|
||||
|
|
Loading…
Reference in a new issue