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

Added a sort by bout number for assign_next_match

This commit is contained in:
2022-01-19 03:28:16 +00:00
parent f0e8c99b9f
commit d42b683f67
13 changed files with 199 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ task :finish_seed_tournaments => :environment do
end
if match.winner_id
match.finished = 1
match.win_type = "Decision"
match.score = "2-1"
match.save
end