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

Extended by:
ActiveSupport::Concern
Includes:
InitiativeSlug
Included in:
CommitteeRequestsController, ComponentPermissionsController, ExportsController, InitiativeAttachmentsController, Moderations::ReportsController, ModerationsController
Defined in:
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