mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-30 19:22:21 +00:00
Advance wrestlers after teampointadjust in case its added after the last match in a pool. Also added coin flip tie breaker
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
class Teampointadjust < ActiveRecord::Base
|
||||
belongs_to :wrestler
|
||||
|
||||
after_save do
|
||||
self.wrestler.lastFinishedMatch.advance_wrestlers
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user