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 467fb24c42
commit 706fad0174

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