diff options
Diffstat (limited to 'app/models/team.rb')
-rw-r--r-- | app/models/team.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/team.rb b/app/models/team.rb index 9e71557..2348de5 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,3 +1,5 @@ class Team < ActiveRecord::Base belongs_to :match + has_and_belongs_to_many :matches + has_and_belongs_to_many :users end |