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:
@@ -5,7 +5,6 @@ class School < ActiveRecord::Base
|
||||
|
||||
#calculate score here
|
||||
def score
|
||||
@matches = self.tournament.upcomingMatches
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user