1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Continuing pool bracket movements

This commit is contained in:
2015-10-13 20:57:35 -04:00
parent 906d79c5ac
commit 087c383996
7 changed files with 94 additions and 8 deletions

View File

@@ -131,6 +131,6 @@ class Weight < ActiveRecord::Base
def poolOrder
@wrestlers = self.wrestlers
@wrestlers.sort_by{|w| w.poolWins}.reverse
@wrestlers.sort_by{|w| w.poolWins.count}.reverse!
end
end