Sha256: 7f888a628a43279a9b28fc92628c2c3cbf30bb19b6a9215e1d6e00d84ad0383c
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 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 resources :meetings do 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 resources :attachments resources :copies, controller: "meeting_copies", only: [:new, :create] resources :minutes, except: [:show, :index] end root to: "meetings#index" end def load_seed nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-meetings-0.22.0 | lib/decidim/meetings/admin_engine.rb |