diff options
Diffstat (limited to 'app/models')
-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 77136e7..828d168 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,4 +1,6 @@ class Team < ActiveRecord::Base has_and_belongs_to_many :matches has_and_belongs_to_many :users + + alias_attribute :players, :users end |