From f1aca201850bf3118da50e31bf8327565212dc90 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 21 Jun 2013 19:43:11 -0700 Subject: [PATCH] stop including ?q= in _item_link links: it's getting cached, so is almost always wrong --- app/views/items/_item_link.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/items/_item_link.html.haml b/app/views/items/_item_link.html.haml index a0869fce..111dee69 100644 --- a/app/views/items/_item_link.html.haml +++ b/app/views/items/_item_link.html.haml @@ -1,6 +1,5 @@ - 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 %span.name= item.name = nc_icon_for(item) -