Sha256: bb2d09ea92969095928ac9e8691b0acecaae8285eeb3473a92e30839b31c1c8e

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

module Clearance
  module I18n
    class Railtie < ::Rails::Railtie
      ROOT = File.expand_path('../../../..', __FILE__)

      config.i18n.load_path +=
        Dir[File.join(ROOT, 'config', 'locales', '*.yml')]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clearance-i18n-0.1.1 lib/clearance/i18n/railtie.rb
clearance-i18n-0.1.0 lib/clearance/i18n/railtie.rb
clearance-i18n-0.0.1 lib/clearance/i18n/railtie.rb