diff options
Diffstat (limited to 'app/models/tournament.rb')
-rw-r--r-- | app/models/tournament.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/tournament.rb b/app/models/tournament.rb index afdd27e..ca7fade 100644 --- a/app/models/tournament.rb +++ b/app/models/tournament.rb @@ -1,5 +1,6 @@ class Tournament < ActiveRecord::Base belongs_to :game + has_many :matches has_many :users, :through => :user_tournament_pair def open? |