Sha256: b1b72dce234725b40238ad5b938dededeea53eb699a675741a80e04bea02acea

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_frontend-2.0.3 app/controllers/spree/home_controller.rb
spree_frontend-2.0.2 app/controllers/spree/home_controller.rb
spree_frontend-2.0.1 app/controllers/spree/home_controller.rb
spree_frontend-2.0.0 app/controllers/spree/home_controller.rb
spree_frontend-2.0.0.rc1 app/controllers/spree/home_controller.rb