Class: Spree::HomeController

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

Instance Method Summary collapse

Methods inherited from StoreController

#cart_link, #unauthorized

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/spree/home_controller.rb', line 8

def index
  @searcher = build_searcher(params.merge(include_images: true))
  @products = @searcher.retrieve_products
  @taxonomies = Spree::Taxonomy.includes(root: :children)
end