7 8 9 10 11 12
# File 'lib/spree/core/controller_helpers/search.rb', line 7 def build_searcher(params) Spree::Config.searcher_class.new(params).tap do |searcher| searcher.current_user = spree_current_user searcher.pricing_options = current_pricing_options end end