diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-04-23 20:32:58 -0400 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-04-23 20:32:58 -0400 |
commit | a729106e956e051818bb2d37f1581f3bf3abcefd (patch) | |
tree | 443f6ca40f3ff02f3368253675a7d81ec0b3ab02 /app/controllers/users_controller.rb | |
parent | 8423f93a586c4278ea25d3b10bb731e732be0ba9 (diff) |
Fixed several user controller errors
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 68c0743..cfa5d67 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -39,7 +39,7 @@ class UsersController < ApplicationController respond_to do |format| if @user.save sign_in @user - if @user.id == daft punk1 + if @user.id == 1 # This is the first user, so give them all the power @user.permissions = 0xFFFFFFFF @user.save |