Sha256: 82e44d5e9493a922729a96faf7480b369161dd52751684686bb3502ed87254a3
Contents?: true
Size: 697 Bytes
Versions: 27
Compression:
Stored size: 697 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # The data store for a Agena in the Decidim::Meetings component. It stores a # title, and visible field to render inside a meeting. class Agenda < Meetings::ApplicationRecord include Decidim::Traceable include Decidim::Loggable belongs_to :meeting, foreign_key: "decidim_meeting_id", class_name: "Decidim::Meetings::Meeting" has_many :agenda_items, foreign_key: "decidim_agenda_id", class_name: "Decidim::Meetings::AgendaItem", dependent: :destroy, inverse_of: :agenda def self.log_presenter_class_for(_log) Decidim::Meetings::AdminLog::AgendaPresenter end end end end
Version data entries
27 entries across 27 versions & 1 rubygems