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