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

Move all finals matches to the last round

This commit is contained in:
2020-01-24 09:06:09 -05:00
parent bc136ae356
commit c4891f7d7c

View File

@@ -49,7 +49,7 @@ class GenerateTournamentMatches
end end
def postMatchCreationActions def postMatchCreationActions
moveFinalsMatchesToLastRound if @tournament.tournament_type == "Pool to bracket" moveFinalsMatchesToLastRound
assignBouts assignBouts
assignFirstMatchesToMats assignFirstMatchesToMats
@tournament.curently_generating_matches = nil @tournament.curently_generating_matches = nil