summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-06 22:31:03 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-06 22:31:03 -0500
commitce8b05ed8fa3466c727269daa47ba7df672fdca1 (patch)
treee89c40080858aa63ba2837b697ef0eafe06cb4bf /app/models/user.rb
parent3f6f212c1d50a0ae953104524ceffe94095307cf (diff)
Redirection works as does the close tournament button.
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
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