Sha256: e25753e6b05cecfbbe8baf29af62ce920d30dfaa68f97014b859bc3e99b8558c
Contents?: true
Size: 1.5 KB
Versions: 13
Compression:
Stored size: 1.5 KB
Contents
# frozen_string_literal: true module Decidim module Meetings # This is the engine that runs on the public interface of `decidim-meetings`. # It mostly handles rendering the created meeting associated to a participatory # process. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::Meetings::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do get "/answer_options", to: "registration_form#answer_options", as: :answer_options_meeting resources :meetings do member do put :publish put :unpublish end resources :meeting_closes, only: [:edit, :update] do get :proposals_picker, on: :collection end resource :registrations, only: [:edit, :update] do resources :invites, only: [:index, :create] resource :form, only: [:edit, :update], controller: "registration_form" collection do get :export post :validate_registration_code end end resources :agenda, except: [:index, :destroy] resources :attachment_collections, except: [:show] resources :attachments, except: [:show] resources :copies, controller: "meeting_copies", only: [:new, :create] resource :poll, only: [:edit, :update], controller: "meetings_poll" end root to: "meetings#index" end def load_seed nil end end end end
Version data entries
13 entries across 13 versions & 1 rubygems