mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 20:25:09 -04:00
no need to return interesting_crops twice
This commit is contained in:
@@ -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