Sha256: 0021b0c5b10d78f45b19bf70a8aef430cb8dd5f5b74341962c7a516b0f07c926
Contents?: true
Size: 547 Bytes
Versions: 26
Compression:
Stored size: 547 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.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