mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-05 22:21:26 +00:00
Cache other pages that users will frequent
This commit is contained in:
@@ -6,6 +6,8 @@ class Match < ActiveRecord::Base
|
||||
|
||||
after_save do
|
||||
if self.finished == 1 && self.winner_id != nil
|
||||
wrestler1.touch
|
||||
wrestler2.touch
|
||||
advance_wrestlers
|
||||
calcSchoolPoints
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user