Sha256: c82b4acc1ed9306b6496c788f3a29af9baf5edc4ce63208599c18bdbd3892f55
Contents?: true
Size: 1022 Bytes
Versions: 13
Compression:
Stored size: 1022 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 :attachment_collections, except: [:show] resources :attachments, except: [:show] resources :timeline_entries, except: [:show] end resources :projects_import, only: [:new, :create] get :import_results, to: "import_results#new" post :import_results, to: "import_results#create" root to: "results#index" end def load_seed nil end end end end
Version data entries
13 entries across 13 versions & 1 rubygems