summaryrefslogtreecommitdiff
path: root/app/models/team.rb
blob: 828d168e2b78c4c108c719fd1f234ad5cee970bd (plain)
1
2
3
4
5
6
class Team < ActiveRecord::Base
	has_and_belongs_to_many :matches
	has_and_belongs_to_many :users

	alias_attribute :players, :users
end