Sha256: e130627cdc1c00a6cb38aabbe41ba5c88014c201884165f88db1287e3c7e237c

Contents?: true

Size: 263 Bytes

Versions: 25

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This query filters assemblies so only promoted ones are returned.
    class PromotedAssemblies < Decidim::Query
      def query
        Decidim::Assembly.promoted
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-assemblies-0.27.2 app/queries/decidim/assemblies/promoted_assemblies.rb
decidim-assemblies-0.27.1 app/queries/decidim/assemblies/promoted_assemblies.rb
decidim-assemblies-0.27.0 app/queries/decidim/assemblies/promoted_assemblies.rb
decidim-assemblies-0.27.0.rc2 app/queries/decidim/assemblies/promoted_assemblies.rb
decidim-assemblies-0.27.0.rc1 app/queries/decidim/assemblies/promoted_assemblies.rb