Sha256: f15fbb5e75ab58148d3179d754329898e3525d1a2d972600fd2eb629e98339e4

Contents?: true

Size: 249 Bytes

Versions: 23

Compression:

Stored size: 249 Bytes

Contents

module Locomotive
  module MyAccountHelper

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

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.2.0.alpha1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.1.1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.1.0 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.1.0.rc1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.3 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.2 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.0 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.0.rc0 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.0.alpha3 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.4.1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.0.alpha2 app/helpers/locomotive/my_account_helper.rb
locomotivecms-4.0.0.alpha1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.4.0 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.3.0 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.3.0.rc3 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.3.0.rc2 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.2.1 app/helpers/locomotive/my_account_helper.rb
locomotivecms-3.3.0.rc1 app/helpers/locomotive/my_account_helper.rb