mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-12 16:25:41 +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)
|
def roundRobin(pool,tournament_id,weight_id)
|
||||||
@wrestlers = Wrestler.where(weight_id: weight_id, poolNumber: pool).to_a
|
@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|
|
@poolMatches.each_with_index do |b,index|
|
||||||
@bout = b.map
|
@bout = b.map
|
||||||
@bout.each do |b|
|
@bout.each do |b|
|
||||||
|
|||||||
Reference in New Issue
Block a user