Class: Decidim::Proposals::ProposalListHelper

Inherits:
Core::ComponentListBase
  • Object
show all
Defined in:
lib/decidim/api/proposals_type.rb

Instance Method Summary collapse

Instance Method Details

#query_scopeObject

only querying published posts



7
8
9
# File 'lib/decidim/api/proposals_type.rb', line 7

def query_scope
  super.published
end