Sha256: 5854e9fe4a8a8904ad152a3e26bdbef427ad5915f440537dea69255e68276d88

Contents?: true

Size: 605 Bytes

Versions: 14

Compression:

Stored size: 605 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    # The data store for a Minutes in the Decidim::Meetings component.
    class Minutes < Meetings::ApplicationRecord
      include Decidim::Traceable
      include Decidim::Loggable
      include Decidim::TranslatableResource

      translatable_fields :description

      belongs_to :meeting, foreign_key: "decidim_meeting_id", class_name: "Decidim::Meetings::Meeting"

      def self.log_presenter_class_for(_log)
        Decidim::Meetings::AdminLog::MinutesPresenter
      end

      delegate :component, to: :meeting
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-meetings-0.24.3 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.6 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.24.2 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.5 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.24.1 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.24.0 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.24.0.rc2 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.4 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.24.0.rc1 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.3 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.2 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.1 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.1.rc1 app/models/decidim/meetings/minutes.rb
decidim-meetings-0.23.0 app/models/decidim/meetings/minutes.rb