diff --git a/app/helpers/i18n_helper.rb b/app/helpers/i18n_helper.rb index 6d4c3845c1..b755e85a54 100644 --- a/app/helpers/i18n_helper.rb +++ b/app/helpers/i18n_helper.rb @@ -24,12 +24,12 @@ module I18nHelper end end - private - def available_locale?(locale) Rails.application.config.i18n.available_locales.include?(locale) end + private + def current_user_locale spree_current_user.andand.locale end