summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-07 01:25:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-07 01:25:12 -0500
commitf69fcc28596700c1a875068b7cb616d6eb40e6df (patch)
treec11b97401a620f2dd7df5ae4b9645111065b0a8a /app/models/match.rb
parentfd213819fa004209fc466b19ee65d83b1f918068 (diff)
It is 1:30 AM
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 7dacae5..782dce8 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -3,6 +3,6 @@ class Match < ActiveRecord::Base
has_and_belongs_to_many :teams
- belongs_to :winner
+ belongs_to :winner, class_name: "Team"
end