Class: Decidim::Initiatives::Admin::InitiativesPermissionsController
- Inherits:
-
Admin::ResourcePermissionsController
- Object
- Admin::ResourcePermissionsController
- Decidim::Initiatives::Admin::InitiativesPermissionsController
- Includes:
- Admin::ParticipatorySpaceAdminBreadcrumb, NeedsInitiative
- Defined in:
- app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb
Overview
Controller that allows managing initiatives permissions in the admin panel.
Instance Method Summary collapse
Instance Method Details
#permission_class_chain ⇒ Object
24 25 26 |
# File 'app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb', line 24 def ::Decidim..chain_for(::Decidim::Initiatives::Admin::InitiativesPermissionsController) end |
#resource ⇒ Object
20 21 22 |
# File 'app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb', line 20 def resource current_initiative end |