Class: Decidim::Proposals::ProposalFinderHelper

Inherits:
Core::ComponentFinderBase show all
Defined in:
decidim-proposals/lib/decidim/api/proposals_type.rb

Instance Attribute Summary

Attributes inherited from Core::ComponentFinderBase

#model_class

Instance Method Summary collapse

Methods inherited from Core::ComponentFinderBase

#call, #initialize

Constructor Details

This class inherits a constructor from Decidim::Core::ComponentFinderBase

Instance Method Details

#query_scopeObject

only querying published posts


14
15
16
# File 'decidim-proposals/lib/decidim/api/proposals_type.rb', line 14

def query_scope
  super.published
end