Sha256: 3268f26574e054c63da4f5cbea835b3f4b29c6ebd0d630eccfe0ebedb3a68899
Contents?: true
Size: 1008 Bytes
Versions: 9
Compression:
Stored size: 1008 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 get :proposals_picker, on: :collection resources :timeline_entries, except: [:show] end get :import_results, to: "import_results#new" post :import_results, to: "import_results#create" 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
9 entries across 9 versions & 1 rubygems