diff --git a/app/views/crops/_thumbnail.html.haml b/app/views/crops/_thumbnail.html.haml index 770f1bfc7..32cbbce9a 100644 --- a/app/views/crops/_thumbnail.html.haml +++ b/app/views/crops/_thumbnail.html.haml @@ -1,7 +1,7 @@ .thumbnail .crop-thumbnail - if crop - - cache cache_key_for(crop) do + - cache cache_key_for(Crop, crop.id) do = link_to image_tag((crop.default_photo ? crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => crop.name, :class => 'img'), crop .cropinfo .cropname