Skip to content

Commit

Permalink
clean up and fix build
Browse files Browse the repository at this point in the history
oops!
  • Loading branch information
Jean-Philippe Boily committed Sep 28, 2012
1 parent eff2107 commit b5c3911
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/controllers/monologue/admin/users_controller.rb
Expand Up @@ -5,12 +5,6 @@ def edit

def update
@user = current_user
logger.debug params.inspect
logger.debug params[:user][:password]
logger.debug params[:user][:password].class
params[:user][:password].delete if params[:user][:password].empty?
params[:user][:password_confirmation].delete if params[:user][:password_confirmation].empty?
logger.debug params.inspect
if @user.update_attributes(params[:user])
flash.notice = "User modified"
end
Expand Down

0 comments on commit b5c3911

Please sign in to comment.