no need to return interesting_crops twice

This commit is contained in:
Skud
2013-08-18 20:42:02 +10:00
parent 266fd99a12
commit ed0739d56c

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