Class: Decidim::Accountability::TimelineEntry

Inherits:
ApplicationRecord show all
Includes:
Traceable, TranslatableResource
Defined in:
app/models/decidim/accountability/timeline_entry.rb

Overview

The data store for a TimelineEntry for a Result in the Decidim::Accountability component. It stores a date, and localized description.

Class Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



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

def self.log_presenter_class_for(_log)
  Decidim::Accountability::AdminLog::TimelineEntryPresenter
end