mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-12 16:59:00 +00:00
Refactored names of methods and some db column
This commit is contained in:
@@ -5,7 +5,7 @@ class AdvanceWrestler
|
||||
end
|
||||
|
||||
def advance
|
||||
PoolAdvance.new(@wrestler,@wrestler.lastMatch).advanceWrestler if @tournament.tournament_type == "Pool to bracket"
|
||||
PoolAdvance.new(@wrestler,@wrestler.last_match).advanceWrestler if @tournament.tournament_type == "Pool to bracket"
|
||||
end
|
||||
if Rails.env.production?
|
||||
handle_asynchronously :advance
|
||||
|
||||
Reference in New Issue
Block a user