Sha256: 09dc691c849719e4f9ddc68960f721f6c641270bae73ad3b3f3723cf0b8edd0a

Contents?: true

Size: 557 Bytes

Versions: 26

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Dev
    # Decidim's development Rails Engine.
    class Engine < ::Rails::Engine
      isolate_namespace Decidim::Dev
      engine_name "decidim_dev"

      initializer "decidim_dev.tools" do
        ActiveSupport.on_load :action_controller do
          ActionController::Base.include Decidim::Dev::NeedsDevelopmentTools
        end
      end

      initializer "decidim_dev.webpacker.assets_path" do
        Decidim.register_assets_path File.expand_path("app/packs", root)
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
decidim-dev-0.27.9 lib/decidim/dev/engine.rb
decidim-dev-0.27.8 lib/decidim/dev/engine.rb
decidim-dev-0.27.7 lib/decidim/dev/engine.rb
decidim-dev-0.27.6 lib/decidim/dev/engine.rb
decidim-dev-0.26.10 lib/decidim/dev/engine.rb
decidim-dev-0.26.9 lib/decidim/dev/engine.rb
decidim-dev-0.27.5 lib/decidim/dev/engine.rb
decidim-dev-0.26.8 lib/decidim/dev/engine.rb
decidim-dev-0.27.4 lib/decidim/dev/engine.rb
decidim-dev-0.27.3 lib/decidim/dev/engine.rb
decidim-dev-0.26.7 lib/decidim/dev/engine.rb
decidim-dev-0.26.5 lib/decidim/dev/engine.rb
decidim-dev-0.27.2 lib/decidim/dev/engine.rb
decidim-dev-0.27.1 lib/decidim/dev/engine.rb
decidim-dev-0.26.4 lib/decidim/dev/engine.rb
decidim-dev-0.27.0 lib/decidim/dev/engine.rb
decidim-dev-0.26.3 lib/decidim/dev/engine.rb
decidim-dev-0.27.0.rc2 lib/decidim/dev/engine.rb
decidim-dev-0.27.0.rc1 lib/decidim/dev/engine.rb
decidim-dev-0.26.2 lib/decidim/dev/engine.rb