diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-03-07 17:54:11 -0500 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-03-07 17:54:11 -0500 |
commit | da284d090e74d790bd80a8e4ed0400eb073e36b6 (patch) | |
tree | 21d058fa92ed008f30234f6813dc1d386799e293 /app/models | |
parent | 7e7a0a4a0465142612acd1e0d050cb1b91f93d90 (diff) |
tournaments table is better
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 70e7f25..6e439fb 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -19,7 +19,7 @@ class User < ActiveRecord::Base when :admin return ((groups & 2) != 0) when :host - return ((groups & 1) != 0) + return true #((groups & 1) != 0) when :player return true when :specator |