Sha256: dc61b3ba951e50f0f8c0d7e67306ee776788c5f9b15b826279f9ca49420a223a
Contents?: true
Size: 719 Bytes
Versions: 25
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true module Decidim module Accountability # The data store for a TimelineEntry for a Result in the Decidim::Accountability component. # It stores a date, and localized description. class TimelineEntry < Accountability::ApplicationRecord include Decidim::TranslatableResource include Decidim::Traceable translatable_fields :title translatable_fields :description belongs_to :result, foreign_key: "decidim_accountability_result_id", class_name: "Decidim::Accountability::Result", inverse_of: :timeline_entries def self.log_presenter_class_for(_log) Decidim::Accountability::AdminLog::TimelineEntryPresenter end end end end
Version data entries
25 entries across 25 versions & 1 rubygems