Sha256: bc7feb09b64386b304c7a858f55150d1023f6b314070d2ea036c6758465f8f66

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

module Tramway
  module Core
    class Engine < ::Rails::Engine
      isolate_namespace Tramway::Core

      config.before_initialize do                                                      
        config.i18n.available_locales = [:ru]
        config.i18n.default_locale = :ru
        config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tramway-core-1.0.1.4 lib/tramway/core/engine.rb
tramway-core-1.0.1.3 lib/tramway/core/engine.rb
tramway-core-1.0.1.2 lib/tramway/core/engine.rb
tramway-core-1.0.1.1 lib/tramway/core/engine.rb
tramway-core-1.0.1 lib/tramway/core/engine.rb
tramway-core-1.0 lib/tramway/core/engine.rb
tramway-core-0.2 lib/tramway/core/engine.rb