Sha256: 3eb3c8d6613139e3b6ed292ff9f8f4615544433552d9e37a175077e8ceab4d29

Contents?: true

Size: 570 Bytes

Versions: 14

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

require "rails"
require "decidim/core"

module Decidim
  module Templates
    # This is the engine that runs on the public interface of templates.
    class Engine < ::Rails::Engine
      isolate_namespace Decidim::Templates

      routes do
        # Add engine routes here
        resources :templates
        # root to: "templates#index"
      end

      initializer "decidim_templates.assets" do |app|
        app.config.assets.precompile += %w(decidim_templates_manifest.js decidim_templates_manifest.css)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-templates-0.24.3 lib/decidim/templates/engine.rb
decidim-templates-0.23.6 lib/decidim/templates/engine.rb
decidim-templates-0.24.2 lib/decidim/templates/engine.rb
decidim-templates-0.23.5 lib/decidim/templates/engine.rb
decidim-templates-0.24.1 lib/decidim/templates/engine.rb
decidim-templates-0.24.0 lib/decidim/templates/engine.rb
decidim-templates-0.24.0.rc2 lib/decidim/templates/engine.rb
decidim-templates-0.23.4 lib/decidim/templates/engine.rb
decidim-templates-0.24.0.rc1 lib/decidim/templates/engine.rb
decidim-templates-0.23.3 lib/decidim/templates/engine.rb
decidim-templates-0.23.2 lib/decidim/templates/engine.rb
decidim-templates-0.23.1 lib/decidim/templates/engine.rb
decidim-templates-0.23.1.rc1 lib/decidim/templates/engine.rb
decidim-templates-0.23.0 lib/decidim/templates/engine.rb