Sha256: b63f67fd842ea1d66896270a4246c7f5570a230e406b1a5a8703fa79ea516527

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true
require "rails"
require "active_support/all"

module Decidim
  module Core
    # Decidim's core Rails Engine.
    class Engine < ::Rails::Engine
      isolate_namespace Decidim
      engine_name "decidim"

      initializer "decidim.action_controller" do |_app|
        ActiveSupport.on_load :action_controller do
          helper Decidim::LayoutHelper
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.0.1.alpha2 lib/decidim/core/engine.rb
decidim-core-0.0.1.alpha1 lib/decidim/core/engine.rb