Module: Decidim::Initiatives::Admin::InitiativeAdmin

Extended by:
ActiveSupport::Concern
Includes:
InitiativeSlug
Included in:
CommitteeRequestsController, ComponentPermissionsController, ComponentShareTokensController, ExportsController, InitiativeAttachmentsController, InitiativeShareTokensController, Moderations::ReportsController, ModerationsController
Defined in:
decidim-initiatives/app/controllers/concerns/decidim/initiatives/admin/initiative_admin.rb

Overview

This concern is meant to be included in all controllers that are scoped into an initiative’s admin panel. It will override the layout so it shows the sidebar, preload the assembly, etc.

Method Summary

Methods included from InitiativeSlug

#id_from_slug, #slug_from_id