summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-26 16:57:26 -0400
committertkimia <tkimia@purdue.edu>2014-04-26 16:57:26 -0400
commit59d8a08232ae7872e2777ac42756fa259e1d1f6f (patch)
tree7a6f6819ca4d3226f33017c22de1e55a65e1fd6c /app/models/match.rb
parentfedc51fb2d95d1e67c06e560448563a64fa458b1 (diff)
parent2aaaf29ae291edc34d0512ce9a812fc0de14f76b (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models/match.rb')
-rw-r--r--app/models/match.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index 20a36a5..9045d67 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,6 +1,6 @@
class Match < ActiveRecord::Base
belongs_to :tournament_stage
- has_many :scores
+ has_many :statistics
has_and_belongs_to_many :teams
belongs_to :winner, class_name: "Team"