Class: Spree::HomeController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Spree::HomeController
- Defined in:
- app/controllers/spree/home_controller.rb
Instance Method Summary collapse
Methods included from Core::ControllerHelpers
Instance Method Details
#index ⇒ Object
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 |