mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-11 07:56:28 +00:00
Added head to head pool winner and tests
This commit is contained in:
@@ -139,7 +139,6 @@ class Weight < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def poolOrder(pool)
|
||||
@wrestlers = wrestlersForPool(pool)
|
||||
@wrestlers.sort_by{|w| w.poolWins.size}.reverse!
|
||||
Poolorder.new(wrestlersForPool(pool)).getPoolOrder
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user