Sha256: 39db5509c025cd275e38bf66e5e456730dce9779abc9acc913ff7864b725c8c4

Contents?: true

Size: 525 Bytes

Versions: 28

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class ParticipatoryProcessGroup < ApplicationRecord
    has_many :participatory_processes,
             foreign_key: "decidim_participatory_process_group_id",
             class_name: "Decidim::ParticipatoryProcess",
             inverse_of: :participatory_process_group
    belongs_to :organization,
               foreign_key: "decidim_organization_id",
               class_name: "Decidim::Organization"

    mount_uploader :hero_image, Decidim::HeroImageUploader
  end
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
decidim-0.6.1 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.0 app/models/decidim/participatory_process_group.rb
decidim-0.6.0 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-core-0.5.1 app/models/decidim/participatory_process_group.rb
decidim-0.5.1 decidim-core/app/models/decidim/participatory_process_group.rb
decidim-core-0.5.0 app/models/decidim/participatory_process_group.rb
decidim-0.5.0 decidim-core/app/models/decidim/participatory_process_group.rb
decidim-core-0.4.4 app/models/decidim/participatory_process_group.rb