Sha256: cf510fde12cacd0b40db5484655bcd12a2300108459284dd6ffbd46b4da4f05f

Contents?: true

Size: 162 Bytes

Versions: 10

Compression:

Stored size: 162 Bytes

Contents

# frozen_string_literal: true

module PagesCore
  module LocalesHelper
    def content_locale
      params[:locale] || I18n.default_locale.to_s
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/helpers/pages_core/locales_helper.rb
pages_core-3.15.4 app/helpers/pages_core/locales_helper.rb
pages_core-3.15.3 app/helpers/pages_core/locales_helper.rb
pages_core-3.15.2 app/helpers/pages_core/locales_helper.rb
pages_core-3.15.1 app/helpers/pages_core/locales_helper.rb
pages_core-3.14.0 app/helpers/pages_core/locales_helper.rb
pages_core-3.13.0 app/helpers/pages_core/locales_helper.rb
pages_core-3.12.7 app/helpers/pages_core/locales_helper.rb
pages_core-3.12.6 app/helpers/pages_core/locales_helper.rb
pages_core-3.12.5 app/helpers/pages_core/locales_helper.rb