Sha256: 37bc4410eac1671a6ac3285d4be88db2c5bbc69315168150f34a691cb7345af3
Contents?: true
Size: 624 Bytes
Versions: 39
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true require "decidim/core" module Decidim module Pages # This is the engine that runs on the public interface of `decidim-pages`. # It mostly handles rendering the created page associated to a participatory # process. class Engine < ::Rails::Engine isolate_namespace Decidim::Pages routes do resources :pages, only: [:show], controller: :application root to: "application#show" end initializer "decidim_pages.webpacker.assets_path" do Decidim.register_assets_path File.expand_path("app/packs", root) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems