Sha256: 62b376ce9fe96bbb78f4e686c314a4b27b23f5ec1c4d31da64f34e35e325e552
Contents?: true
Size: 1.17 KB
Versions: 7
Compression:
Stored size: 1.17 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 routes do resources :meetings do resources :meeting_closes, only: [:edit, :update] resource :registrations, only: [:edit, :update] do resource :invites, only: [:new, :create] collection do get :export 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 initializer "decidim_meetings.assets" do |app| app.config.assets.precompile += %w(admin/decidim_meetings_manifest.js) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems