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

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

Overview

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

Instance Method Summary collapse

Methods included from InitiativeSlug

#id_from_slug, #slug_from_id

Methods inherited from Admin::Moderations::ReportsController

#index, #show

Methods inherited from Admin::ApplicationController

#permission_class_chain, #permission_scope, #user_has_no_permission_path, #user_not_authorized_path

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from NeedsSnippets

#snippets

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#permissions_contextObject


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

def permissions_context
  super.merge(current_participatory_space: current_participatory_space)
end