Sha256: 725d0b27e9dc5622aeed8e59ba1f6c8f2c9bccff57998487c137fe031ada14a4
Contents?: true
Size: 911 Bytes
Versions: 19
Compression:
Stored size: 911 Bytes
Contents
# frozen_string_literal: true module Decidim module Accountability # This is the engine that runs on the admin interface of `decidim-accountability`. # It mostly handles rendering the created results and projects associated to a # participatory process. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::Accountability::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do resources :statuses resources :results, except: [:show] do resources :timeline_entries, except: [:show] collection do get :proposals end end root to: "results#index" end def load_seed nil end initializer "decidim_accountability.assets" do |app| app.config.assets.precompile += %w(decidim_accountability_admin_manifest.js) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems