Sha256: 080de468d89c782011803600bdb03ffe3db3ce59b7c2657f87ddda71ea26abbc
Contents?: true
Size: 388 Bytes
Versions: 5
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module Decidim module ReportingProposals module CreateProjectOverride extend ActiveSupport::Concern included do def proposals @proposals ||= project.sibling_scope(:proposals).where(id: @form.proposal_ids) + project.sibling_scope(:reporting_proposals).where(id: form.proposal_ids) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems