Sha256: 11f58a7ac2aad724cd5ff246402c54d33e61d20c260a523fd80c6e1fff28e505
Contents?: true
Size: 588 Bytes
Versions: 75
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim module Consultations module OverrideCategorization extend ActiveSupport::Concern included do # This relationship exists only by compatibility reasons. # Consultations are not intended to have categories. has_many :categories, foreign_key: "decidim_participatory_space_id", foreign_type: "decidim_participatory_space_type", dependent: :destroy, as: :participatory_space end end end end
Version data entries
75 entries across 75 versions & 1 rubygems