mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-23 23:38:23 -04:00
no need to return interesting_crops twice
This commit is contained in:
1 parent
266fd99a12
commit
ed0739d56c
1 file changed
+1
-1
+1
-1
@@ -100,7 +100,7 @@ class Crop < ActiveRecord::Base
|
||||
next unless c.interesting?
|
||||
interesting_crops.push(c)
|
||||
end
|
||||
return interesting_crops
|
||||
interesting_crops
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user