1
0
Fork 0
forked from OpenNeo/impress

stop including ?q= in _item_link links: it's getting cached, so is almost always wrong

This commit is contained in:
Emi Matchu 2013-06-21 19:43:11 -07:00
parent 154bdd5d0d
commit f1aca20185

View file

@ -1,6 +1,5 @@
- localized_cache "items/#{item.id}#item_link_partial" do - localized_cache "items/#{item.id}#item_link_partial" do
= link_to item_path(item, :q => @query) do = link_to item_path(item) do
= image_tag item.thumbnail_url, :alt => item.description, :title => item.description = image_tag item.thumbnail_url, :alt => item.description, :title => item.description
%span.name= item.name %span.name= item.name
= nc_icon_for(item) = nc_icon_for(item)