Module: Spree::Core::ControllerHelpers::Search Private
- Included in:
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary (collapse)
Instance Method Details
- (Object) build_searcher(params)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 8 9 10
# File 'lib/spree/core/controller_helpers/search.rb', line 5 def build_searcher(params) Spree::Config.searcher_class.new(params).tap do |searcher| searcher.current_user = try_spree_current_user searcher. = end end