From 48313007f9052815736a967664c2279db4f2e2d3 Mon Sep 17 00:00:00 2001 From: Skud Date: Wed, 14 Aug 2013 13:58:26 +1000 Subject: [PATCH] removed redundant check for photos --- app/views/home/_crops.html.haml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/home/_crops.html.haml b/app/views/home/_crops.html.haml index 6af865c13..1c9a8b08b 100644 --- a/app/views/home/_crops.html.haml +++ b/app/views/home/_crops.html.haml @@ -2,7 +2,6 @@ .span6 %h2 Some of our crops - @crops.each do |c| - - next unless c.photos.present? .span3{:style => 'margin:0px; padding: 3px'} = render :partial => 'crops/image_with_popover', :locals => { :crop => c }