Class: Decidim::Initiatives::Admin::Moderations::ReportsController

Inherits:
Admin::Moderations::ReportsController
  • Object
show all
Includes:
InitiativeAdmin
Defined in:
app/controllers/decidim/initiatives/admin/moderations/reports_controller.rb

Overview

This controller allows admins to manage moderation reports in an initiative.

Instance Method Summary collapse

Methods included from InitiativeSlug

#id_from_slug, #slug_from_id

Instance Method Details

#permissions_contextObject



11
12
13
# File 'app/controllers/decidim/initiatives/admin/moderations/reports_controller.rb', line 11

def permissions_context
  super.merge(current_participatory_space:)
end