mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
8 lines
155 B
Ruby
8 lines
155 B
Ruby
class Teampointadjust < ActiveRecord::Base
|
|
belongs_to :wrestler
|
|
|
|
after_save do
|
|
self.wrestler.lastFinishedMatch.advance_wrestlers
|
|
end
|
|
end
|