no need to return interesting_crops twice

This commit is contained in:
Skud committed 2013-08-18 20:42:02 +10:00
1 parent 266fd99a12
commit ed0739d56c
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ class Crop < ActiveRecord::Base
next unless c.interesting?
interesting_crops.push(c)
end
return interesting_crops
interesting_crops
end
end