Sha256: f9c5217a641078014ad8345807565229185f10ba0d22d63aa978968cc25ef67f

Contents?: true

Size: 253 Bytes

Versions: 102

Compression:

Stored size: 253 Bytes

Contents

module Pageflow
  module Admin
    module LocalesHelper
      def available_locales_collection
        Pageflow.config.available_locales.map do |locale|
          [I18n.t('language', locale: locale), locale.to_s]
        end
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
pageflow-12.5.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.4.1 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.rc1 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.4.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.3.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta7 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta6 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta5 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta4 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta3 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta2 app/helpers/pageflow/admin/locales_helper.rb
pageflow-13.0.0.beta1 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.2.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.1.0 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.0.4 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.0.3 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.0.2 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.0.1 app/helpers/pageflow/admin/locales_helper.rb
pageflow-12.0.0 app/helpers/pageflow/admin/locales_helper.rb