Class: Decidim::Initiatives::Admin::ModerationsController

Inherits:
Admin::ModerationsController
  • Object
show all
Includes:
InitiativeAdmin
Defined in:
app/controllers/decidim/initiatives/admin/moderations_controller.rb

Overview

This controller allows admins to manage moderations in an initiative.

Instance Method Summary collapse

Methods included from InitiativeSlug

#id_from_slug, #slug_from_id

Instance Method Details

#permissions_contextObject



12
13
14
# File 'app/controllers/decidim/initiatives/admin/moderations_controller.rb', line 12

def permissions_context
  super.merge(current_participatory_space:)
end