diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-07 17:28:57 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-07 17:28:57 -0500 |
commit | 5f7189c2fe6f39b2056d5f3a6d91e557306697da (patch) | |
tree | 6736d10e1037fdf99a510abda110c101b92e32d2 /app/models/user.rb | |
parent | d9a19d269bb773d676cf049dbf58d675c3fa0db9 (diff) |
I think I fixed the issue with permissions.
Diffstat (limited to 'app/models/user.rb')
-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 6e439fb..70e7f25 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 true #((groups & 1) != 0) + return ((groups & 1) != 0) when :player return true when :specator |