Skip to content

Commit

Permalink
Hook no longer required. Code cleaned.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyadsl committed Jul 12, 2011
1 parent a5b498e commit 1e308eb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/spree_recently_viewed_hooks.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
class RecentlyViewedHooks < Spree::ThemeSupport::HookListener

insert_after :inside_head do
'
<% if @product %>
<%= stylesheet_link_tag("/recently/viewed/products.css?product_id=#{@product.id}") %>
<% end %>
'
end

end

2 comments on commit 1e308eb

@gakshay
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updated README and updated code to remove same product listing under the recent visited list.

@kennyadsl
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to you for considering my code.

Please sign in to comment.