Sha256: 6facf04dbd20e3db881ac600893f336aecb9dfb9dbee151842ab7541226be1a3
Contents?: true
Size: 529 Bytes
Versions: 23
Compression:
Stored size: 529 Bytes
Contents
module Spree class TaxonsController < Spree::StoreController rescue_from ActiveRecord::RecordNotFound, :with => :render_404 helper 'spree/products' respond_to :html def show @taxon = Taxon.find_by_permalink!(params[:id]) return unless @taxon @searcher = build_searcher(params.merge(:taxon => @taxon.id)) @products = @searcher.retrieve_products end private def accurate_title if @taxon @taxon.seo_title else super end end end end
Version data entries
23 entries across 23 versions & 1 rubygems