summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-28 01:49:11 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-28 01:49:11 -0400
commit8abfaf4ce71dff7294424a7cb37efe4db5e0d581 (patch)
treec6ec47564ffa72c1acd5d577900e1ee1228f06d2 /app
parent85c74dac1f82dc1869a2875a9354be0b4b3361ac (diff)
Made Round Robin Work (but it makes too many rounds for 1v1s right now)
Diffstat (limited to 'app')
-rw-r--r--app/models/team.rb2
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