mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-09 07:39:06 +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
|
#calculate score here
|
||||||
def score
|
def score
|
||||||
@matches = self.tournament.upcomingMatches
|
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user