Permalink
Browse files

stop repeating products on taxon pages

Fixes #12
  • Loading branch information...
1 parent ad0dbde commit b093173e8ffe7ad12ae1c42d80dffa4a640afa3c @westonplatter westonplatter committed with radar Dec 7, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 app/overrides/spree/taxons/replace_taxon_children.rb
@@ -1,6 +1,3 @@
Deface::Override.new(:virtual_path => %q{spree/taxons/show},
:name => %q{replace_taxon_children},
- :replace => %q{[data-hook='taxon_children']},
- :text => %q{<div data-hook="taxon_products">
- <%= render :partial => "spree/shared/products", :locals => {:products => @products, :taxon => @taxon } %>
- </div>})
+ :remove => %q{[data-hook='taxon_children']})

0 comments on commit b093173

Please sign in to comment.