1
0
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:
2015-12-23 15:29:32 +00:00
parent b0640a61a7
commit a3cf41918b
4 changed files with 121 additions and 115 deletions

View File

@@ -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