Module: Locomotive::MyAccountHelper

Defined in:
app/helpers/locomotive/my_account_helper.rb

Instance Method Summary collapse

Instance Method Details

#options_for_localeObject


4
5
6
7
8
9
10
11
12
# File 'app/helpers/locomotive/my_account_helper.rb', line 4

def options_for_locale
  Locomotive.config.locales.map do |locale|
    [
      I18n.t("locomotive.locales.#{locale}"),
      locale,
      {}
    ]
  end
end