Class: Decidim::Accountability::Status

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

Overview

The data store for a Status in the Decidim::Accountability component. It stores a key, a localized name, a localized description and associated progress number.

Class Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



25
26
27
# File 'app/models/decidim/accountability/status.rb', line 25

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