diff options
Diffstat (limited to 'app/controllers/users_controller.rb')
| -rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index b06d11fd..20355aa8 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb | |||
| @@ -140,7 +140,7 @@ class UsersController < ApplicationController | |||
| 140 | 140 | ||
| 141 | def verify_status | 141 | def verify_status |
| 142 | @user ||= User.new | 142 | @user ||= User.new |
| 143 | unless @user.id == current_user.id || current_user.admin | 143 | unless @user.id == current_user.id || current_user.is_admin? |
| 144 | deny_user_access | 144 | deny_user_access |
| 145 | end | 145 | end |
| 146 | end | 146 | end |
