summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-27 17:02:10 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-27 17:02:10 -0500
commitde40ec53e8b80d8d880214183f19ea93172a0026 (patch)
treecb25d099fa0252d2b43db850f21c69ccd03907e3 /app/models
parent3a7b14f4a51c0fdb8b71720f361a0a8ccf080325 (diff)
give tournaments a game type
Diffstat (limited to 'app/models')
-rw-r--r--app/models/tournament.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index da3da0e..cc915a0 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -1,2 +1,3 @@
class Tournament < ActiveRecord::Base
+ belongs_to :game
end