mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
reverse match order for pool
This commit is contained in:
@@ -55,7 +55,7 @@ class Pool
|
||||
|
||||
def roundRobin(pool,tournament_id,weight_id)
|
||||
@wrestlers = Wrestler.where(weight_id: weight_id, poolNumber: pool).to_a
|
||||
@poolMatches = RoundRobinTournament.schedule(@wrestlers)
|
||||
@poolMatches = RoundRobinTournament.schedule(@wrestlers).reverse
|
||||
@poolMatches.each_with_index do |b,index|
|
||||
@bout = b.map
|
||||
@bout.each do |b|
|
||||
|
||||
Reference in New Issue
Block a user