1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

UpcomingMatches blows up if there are no wrestlers

This commit is contained in:
2015-04-25 23:32:33 -04:00
parent 63af7d00f5
commit d0d562ddf8

View File

@@ -5,7 +5,6 @@ class School < ActiveRecord::Base
#calculate score here
def score
@matches = self.tournament.upcomingMatches
return 0
end
end