Class: Spree::TaxonsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Spree::TaxonsController
- Defined in:
- app/controllers/spree/taxons_controller.rb
Instance Method Summary collapse
Methods included from Core::ControllerHelpers
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'app/controllers/spree/taxons_controller.rb', line 8 def show @taxon = Taxon.find_by_permalink!(params[:id]) return unless @taxon @searcher = Spree::Config.searcher_class.new(params.merge(:taxon => @taxon.id)) @products = @searcher.retrieve_products respond_with(@taxon) end |