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-participatory_processes-0.7.4 app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.7.3 app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.7.2 app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.7.1 app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.7.0 app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.8 app/models/decidim/participatory_process_group.rb
decidim-0.6.8 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.7 app/models/decidim/participatory_process_group.rb
decidim-0.6.7 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.6 app/models/decidim/participatory_process_group.rb
decidim-0.6.6 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.5 app/models/decidim/participatory_process_group.rb
decidim-0.6.5 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.4 app/models/decidim/participatory_process_group.rb
decidim-0.6.4 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.3 app/models/decidim/participatory_process_group.rb
decidim-0.6.3 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.2 app/models/decidim/participatory_process_group.rb
decidim-0.6.2 decidim-participatory_processes/app/models/decidim/participatory_process_group.rb
decidim-participatory_processes-0.6.1 app/models/decidim/participatory_process_group.rb