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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user