Sha256: 5d3c6ce39525d980f67e02232f7fbedd592a7bfee566f2c4cf0b97ef117ee222
Contents?: true
Size: 347 Bytes
Versions: 30
Compression:
Stored size: 347 Bytes
Contents
module Spree HomeController.class_eval do def index p = params ? params : {} @searcher = Spree::Config.searcher_class.new( p.merge( {zoned_country: (session[:zoned] && session[:zoned][:current_country]) || -214 })) @products = @searcher.retrieve_products respond_with(@products) end end end
Version data entries
30 entries across 30 versions & 1 rubygems