Sha256: 4786eec557df7552f8cf8d747cff65d0d02b0ac628e9f8d7e4207cda2897114c

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

module Headmin
  class Engine < Rails::Engine
    engine_name 'headmin'

    # Add translations to main app
    config.before_configuration do
      config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
headmin-0.2.2 lib/headmin/engine.rb
headmin-0.2.1 lib/headmin/engine.rb
headmin-0.2.0 lib/headmin/engine.rb
headmin-0.1.2 lib/headmin/engine.rb
headmin-0.1.1 lib/headmin/engine.rb