Sha256: 122963cf2ec460047d93c27676d9706551e432cadfede0a6200a97d17084cf00
Contents?: true
Size: 384 Bytes
Versions: 9
Compression:
Stored size: 384 Bytes
Contents
module Spree class HomeController < Spree::StoreController helper 'spree/products' respond_to :html def index @searcher = Spree::Config.searcher_class.new(params) @searcher.current_user = try_spree_current_user @searcher.current_currency = current_currency @products = @searcher.retrieve_products respond_with(@products) end end end
Version data entries
9 entries across 9 versions & 2 rubygems