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



15
16
17
# File 'app/models/decidim/moderation.rb', line 15

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