Class: Spree::TaxonsController

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

Instance Method Summary collapse

Methods inherited from StoreController

#cart_link, #unauthorized

Instance Method Details

#showObject



11
12
13
14
15
# File 'app/controllers/spree/taxons_controller.rb', line 11

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