Sha256: 93c51624a2712634ddc530a5360e892f6232596fdcc8149b0d208fb792ad5dce
Contents?: true
Size: 735 Bytes
Versions: 5
Compression:
Stored size: 735 Bytes
Contents
# frozen_string_literal: true require "searchlight" require "kaminari" module Decidim module Accountability # This is the engine that runs on the public interface of `decidim-accountability`. # It mostly handles rendering the created results associated to a participatory # process. class Engine < ::Rails::Engine isolate_namespace Decidim::Accountability routes do resources :results, only: [:index, :show] do resource :result_widget, only: :show, path: "embed" end root to: "results#home" end initializer "decidim_accountability.assets" do |app| app.config.assets.precompile += %w(decidim_accountability_manifest.js) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems