diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3eb353398..71a35dafd 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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