1
0
Fork 0
forked from OpenNeo/impress

localize items#item_link cache

This commit is contained in:
Emi Matchu 2013-01-03 13:06:22 -05:00
parent 75031c142b
commit 9fca9692bf

View file

@ -1,4 +1,4 @@
- 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, :q => @query) 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