summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/match.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index 533435a..bb814c1 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,3 +1,4 @@
class Match < ActiveRecord::Base
belongs_to :tournament
+ belongs_to :winner
end