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