Class: Decidim::Initiatives::ApplicationController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- ApplicationController
- Decidim::Initiatives::ApplicationController
- Includes:
- NeedsPermission
- Defined in:
- decidim-initiatives/app/controllers/decidim/initiatives/application_controller.rb
Overview
The main admin application controller for initiatives
Direct Known Subclasses
AuthorizationCreateModalsController, AuthorizationSignModalsController, CommitteeRequestsController, CreateInitiativeController, InitiativeSignaturesController, InitiativeTypesController, InitiativeVotesController, InitiativesController, InitiativesTypeScopesController, InitiativesTypeSignatureTypesController, VersionsController
Instance Method Summary collapse
Methods included from RegistersPermissions
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from Headers::HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#permission_class_chain ⇒ Object
26 27 28 |
# File 'decidim-initiatives/app/controllers/decidim/initiatives/application_controller.rb', line 26 def ::Decidim..chain_for(::Decidim::Initiatives::ApplicationController) end |
#permission_scope ⇒ Object
30 31 32 |
# File 'decidim-initiatives/app/controllers/decidim/initiatives/application_controller.rb', line 30 def :public end |
#permissions_context ⇒ Object
20 21 22 23 24 |
# File 'decidim-initiatives/app/controllers/decidim/initiatives/application_controller.rb', line 20 def super.merge( current_participatory_space: try(:current_participatory_space) ) end |