Module: Decidim::Initiatives::NeedsInitiative
- Extended by:
- ActiveSupport::Concern
- Included in:
- Admin::AnswersController, Admin::ComponentsController, Admin::InitiativesController, Admin::InitiativesPermissionsController, AuthorizationSignModalsController, CommitteeRequestsController, InitiativeSignaturesController, InitiativeVotesController, InitiativesController, VersionsController
- Defined in:
- app/controllers/concerns/decidim/initiatives/needs_initiative.rb
Overview
This module, when injected into a controller, ensures there is an initiative available and deducts it from the context.