Class: Spree::HomeController

Inherits:
BaseController show all
Defined in:
app/controllers/spree/home_controller.rb

Instance Attribute Summary

Attributes included from Core::ControllerHelpers

#title

Instance Method Summary collapse

Methods included from Core::ControllerHelpers

#access_forbidden, included

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/spree/home_controller.rb', line 6

def index
  @searcher = Spree::Config.searcher_class.new(params)
  @products = @searcher.retrieve_products
  respond_with(@products)
end