1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 08:58:29 +00:00

Trying to fix async jobs

This commit is contained in:
2015-12-29 22:53:53 +00:00
parent aa2fc9c804
commit a911183637
3 changed files with 11 additions and 7 deletions

View File

@@ -4,6 +4,9 @@ module GeneratesTournamentMatches
poolToBracket() if tournament_type == "Pool to bracket"
matches
end
if Rails.env.production?
handle_asynchronously :generateMatchups
end
def poolToBracket
resetSchoolScores