Class: Decidim::Initiatives::Admin::ApplicationController
- Inherits:
-
Admin::ApplicationController
- Object
- Admin::ApplicationController
- Decidim::Initiatives::Admin::ApplicationController
- Defined in:
- app/controllers/decidim/initiatives/admin/application_controller.rb
Overview
The main admin application controller for initiatives
Direct Known Subclasses
AnswersController, CommitteeRequestsController, InitiativeAttachmentsController, InitiativesController, InitiativesSettingsController, InitiativesTypeScopesController, InitiativesTypesController
Instance Method Summary collapse
Instance Method Details
#permission_class_chain ⇒ Object
20 21 22 |
# File 'app/controllers/decidim/initiatives/admin/application_controller.rb', line 20 def ::Decidim..chain_for(::Decidim::Initiatives::Admin::ApplicationController) end |
#permissions_context ⇒ Object
14 15 16 17 18 |
# File 'app/controllers/decidim/initiatives/admin/application_controller.rb', line 14 def super.merge( current_participatory_space: try(:current_participatory_space) ) end |