Class: Decidim::Proposals::ProposalListHelper
- Inherits:
-
Core::ComponentListBase
- Object
- Core::ComponentListBase
- Decidim::Proposals::ProposalListHelper
- Defined in:
- decidim-proposals/lib/decidim/api/proposals_type.rb
Instance Attribute Summary
Attributes inherited from Core::ComponentListBase
Instance Method Summary collapse
-
#query_scope ⇒ Object
only querying published posts.
Methods inherited from Core::ComponentListBase
Methods included from Core::NeedsApiFilterAndOrder
#add_filter_keys, #add_order_keys
Constructor Details
This class inherits a constructor from Decidim::Core::ComponentListBase
Instance Method Details
#query_scope ⇒ Object
only querying published posts
7 8 9 |
# File 'decidim-proposals/lib/decidim/api/proposals_type.rb', line 7 def query_scope super.published end |