diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-29 00:59:48 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-29 00:59:48 -0400 |
commit | 35700a053bb802efd01ac0b6d0ebefa0723d7817 (patch) | |
tree | ab379631e1b19dd77e66db6236e5bb1b6ecef6df /app/models/bracket_match.rb | |
parent | a1814bcfddcf2178ef5ccf35d95bc0917f9409fc (diff) | |
parent | cd0c7d73be76feffbaaea9200c485b2316604469 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models/bracket_match.rb')
-rw-r--r-- | app/models/bracket_match.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/bracket_match.rb b/app/models/bracket_match.rb index 823bc40..f9a11f0 100644 --- a/app/models/bracket_match.rb +++ b/app/models/bracket_match.rb @@ -1,5 +1,7 @@ class BracketMatch < ActiveRecord::Base belongs_to :bracket belongs_to :match - belongs_to :predicted_winner + belongs_to :predicted_winner, class_name: "Team" + + end |