Sha256: 0434a5871162296f79f4805ba2c81e469697a16ef3980422d8ba709177b4a290

Contents?: true

Size: 489 Bytes

Versions: 50

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    module GlobalModerations
      # This controller allows admins to manage reports in a moderation.
      class ReportsController < Decidim::Admin::Moderations::ReportsController
        layout "decidim/admin/global_moderations"

        include Decidim::Admin::GlobalModerationContext

        def moderation
          @moderation ||= moderations_for_user.find(params[:moderation_id])
        end
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
decidim-admin-0.29.1 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.4 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.27.9 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.29.0 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.3 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.27.8 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.29.0.rc4 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.29.0.rc3 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.29.0.rc2 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.29.0.rc1 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.2 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.27.7 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.1 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.27.6 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.26.10 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.26.9 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.0 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.27.5 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.0.rc5 app/controllers/decidim/admin/global_moderations/reports_controller.rb
decidim-admin-0.28.0.rc4 app/controllers/decidim/admin/global_moderations/reports_controller.rb