Sha256: 987b9f118c59e703786aab0f9ac34123a989e71b89649794ce1d4c72fbb60fa9
Contents?: true
Size: 368 Bytes
Versions: 19
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # This query selects the promoted votings class OrganizationPromotedVotings < Decidim::Query def initialize(organization) @organization = organization end def query Decidim::Votings::Voting.where(organization: @organization).promoted end end end end
Version data entries
19 entries across 19 versions & 1 rubygems