Class: HomeController
- Inherits:
-
Spree::BaseController
- Object
- ActionController::Base
- Spree::BaseController
- HomeController
- Defined in:
- app/controllers/home_controller.rb
Instance Method Summary collapse
Methods included from SpreeBase
Methods inherited from ActionController::Base
Instance Method Details
#index ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/home_controller.rb', line 5 def index @searcher = Spree::Config.searcher_class.new(params) @products = @searcher.retrieve_products respond_with(@products) end |