Sha256: 98a0498d3b8ab0a6c02b546807a008aeb25f50c9c1fca8da5ae53cbde08d58ff

Contents?: true

Size: 368 Bytes

Versions: 12

Compression:

Stored size: 368 Bytes

Contents

module Releaf
  class Engine < ::Rails::Engine
    initializer 'releaf_core.assets_precompile', group: :all do |app|
      app.config.assets.precompile << "releaf_core_manifest.js"
    end

    initializer 'releaf.route_mapper', after: 'action_dispatch.prepare_dispatcher' do
      ActionDispatch::Routing::Mapper.send(:include, Releaf::RouteMapper)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
releaf-core-3.1.0 lib/releaf/engine.rb
releaf-core-3.0.3 lib/releaf/engine.rb
releaf-core-3.0.2 lib/releaf/engine.rb
releaf-core-3.0.1 lib/releaf/engine.rb
releaf-core-3.0.0 lib/releaf/engine.rb
releaf-core-2.2.1 lib/releaf/engine.rb
releaf-core-2.2.0 lib/releaf/engine.rb
releaf-core-2.1.2 lib/releaf/engine.rb
releaf-core-2.1.1 lib/releaf/engine.rb
releaf-core-2.1.0 lib/releaf/engine.rb
releaf-core-2.0.1 lib/releaf/engine.rb
releaf-core-2.0.0 lib/releaf/engine.rb