Sha256: d3494229e560790ffa7cef57c36b45bcc847f3acc4e5d3c0c5356f4ec158c7f1

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

Spree::TaxonsController.class_eval do
   def show
    @taxon = Spree::Taxon.find_by_store_id_and_permalink!(current_store.id, params[:id])
    return unless @taxon

    @searcher = build_searcher(params.merge(:taxon => @taxon.id))
    @products = @searcher.retrieve_products
    @taxonomies = get_taxonomies
  end
end if SpreeMultiDomain::Engine.frontend_available?

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_multi_domain-1.5.0 app/controllers/spree/taxons_controller_decorator.rb
solidus_multi_domain-1.4.3 app/controllers/spree/taxons_controller_decorator.rb