Sha256: 6656d7387745337e04637d11388ff7e5d44f3615cee62e018aaa259b34e60386
Contents?: true
Size: 293 Bytes
Versions: 25
Compression:
Stored size: 293 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # This query orders votings by importance, prioritizing promoted # votings. class PrioritizedVotings < Rectify::Query def query Decidim::Votings::Voting.order(promoted: :desc) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems