app/models/decidim/initiative.rb in decidim-initiatives-0.23.6 vs app/models/decidim/initiative.rb in decidim-initiatives-0.24.0.rc1
- old
+ new
@@ -27,10 +27,9 @@
belongs_to :organization,
foreign_key: "decidim_organization_id",
class_name: "Decidim::Organization"
belongs_to :scoped_type,
- foreign_key: "scoped_type_id",
class_name: "Decidim::InitiativesTypeScope",
inverse_of: :initiatives
delegate :type, :scope, :scope_name, :supports_required, to: :scoped_type, allow_nil: true
delegate :attachments_enabled?, :promoting_committee_enabled?, :custom_signature_end_date_enabled?, :area_enabled?, to: :type