Class: Decidim::ParticipatoryProcesses::PromotedParticipatoryProcessGroups

Inherits:
Query
  • Object
show all
Defined in:
decidim-participatory_processes/app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb

Overview

This query filters participatory process groups so only promoted ones are returned.

Instance Method Summary collapse

Methods inherited from Query

#cached_query, #each, #eager?, #exists?, #initialize, merge, #none?, #relation?, #|

Constructor Details

This class inherits a constructor from Decidim::Query

Instance Method Details

#queryObject



7
8
9
# File 'decidim-participatory_processes/app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb', line 7

def query
  Decidim::ParticipatoryProcessGroup.promoted
end