diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-06 22:31:03 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-06 22:31:03 -0500 |
commit | ce8b05ed8fa3466c727269daa47ba7df672fdca1 (patch) | |
tree | e89c40080858aa63ba2837b697ef0eafe06cb4bf /app/models | |
parent | 3f6f212c1d50a0ae953104524ceffe94095307cf (diff) |
Redirection works as does the close tournament button.
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 bad7f7b..c3a9acb 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -18,7 +18,7 @@ class User < ActiveRecord::Base when :admin return ((groups & 2) != 0) when :host - return true #((groups & 1) != 0) + return ((groups & 1) != 0) when :player return true when :specator |