Class: Decidim::Moderation

Inherits:
ApplicationRecord show all
Includes:
Loggable, Traceable
Defined in:
app/models/decidim/moderation.rb

Overview

A moderation belongs to a reportable and includes many reports

Class Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



18
19
20
# File 'app/models/decidim/moderation.rb', line 18

def self.log_presenter_class_for(_log)
  Decidim::AdminLog::ModerationPresenter
end