Sha256: 213c25b9935f4f9f825a1d528bfcb13fbbd1bc4f9087b5ed26a32b4b1fd9d5ec
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 Bytes
Contents
# frozen_string_literal: true module Decidim # Interaction between a user and an organization is done via a # ParticipatoryProcess. It's a unit of action from the Organization point of # view that groups several features (proposals, debates...) distributed in # steps that get enabled or disabled depending on which step is currently # active. class ParticipatoryProcess < ApplicationRecord belongs_to :organization, foreign_key: "decidim_organization_id", class_name: Decidim::Organization validates :slug, presence: true validates :slug, uniqueness: true mount_uploader :hero_image, Decidim::HeroImageUploader mount_uploader :banner_image, Decidim::BannerImageUploader end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.0.1.alpha7 | app/models/decidim/participatory_process.rb |
decidim-core-0.0.1.alpha6 | app/models/decidim/participatory_process.rb |