Sha256: 6afc534fa5f38c740861a66af26a8acd1c13c44aaa1bfe0d1ad38d535d80b32e
Contents?: true
Size: 974 Bytes
Versions: 2
Compression:
Stored size: 974 Bytes
Contents
# frozen_string_literal: true module Decidim module ActionDelegator # This is the engine that runs on the public interface of `ActionDelegator`. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::ActionDelegator::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do resources :settings, only: [:index, :new, :create, :destroy] do resources :delegations, only: [:index, :new, :create, :destroy] end resources :consultations, param: :slug, only: [] do get :results, on: :member resources :exports, only: [:create], module: :consultations namespace :exports do resources :sum_of_weights, only: :create end namespace :results do resources :sum_of_weights, only: :index end end root to: "delegations#index" end def load_seed nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-action_delegator-0.6.0 | lib/decidim/action_delegator/admin_engine.rb |
decidim-action_delegator-0.5.0 | lib/decidim/action_delegator/admin_engine.rb |