Sha256: 6154b16f12ae029f4d938b931d1b7cd20d6e1053201bd1e981326a4e011c1ca3

Contents?: true

Size: 446 Bytes

Versions: 25

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # Initiatives setting.
  class InitiativesSettings < ApplicationRecord
    include Decidim::Traceable
    include Decidim::Loggable

    belongs_to :organization,
               foreign_key: "decidim_organization_id",
               class_name: "Decidim::Organization"

    def self.log_presenter_class_for(_log)
      Decidim::Initiatives::AdminLog::InitiativesSettingsPresenter
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-initiatives-0.27.2 app/models/decidim/initiatives_settings.rb
decidim-initiatives-0.27.1 app/models/decidim/initiatives_settings.rb
decidim-initiatives-0.27.0 app/models/decidim/initiatives_settings.rb
decidim-initiatives-0.27.0.rc2 app/models/decidim/initiatives_settings.rb
decidim-initiatives-0.27.0.rc1 app/models/decidim/initiatives_settings.rb