Class: Decidim::ParticipatoryProcesses::HighlightedParticipatoryProcesses

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

Overview

This query selects some prioritized processes.

Instance Method Summary collapse

Instance Method Details

#queryObject


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

def query
  PrioritizedParticipatoryProcesses.new.query.limit(8)
end