diff options
author | Azul <azul@leap.se> | 2012-11-23 10:24:46 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-23 10:24:46 +0100 |
commit | 3ce5a25afef3b938c2bbbe8ce481f2af9e0c24dc (patch) | |
tree | 20b7c35ebed3836cab7bbc7864d1d077b63f0e9c /users/app | |
parent | 33c124aa67788d5c64906f7b3e21ad383577b2a8 (diff) |
test editing user settings
Diffstat (limited to 'users/app')
-rw-r--r-- | users/app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/users_controller.rb b/users/app/controllers/users_controller.rb index 46ecc32..ecab53b 100644 --- a/users/app/controllers/users_controller.rb +++ b/users/app/controllers/users_controller.rb @@ -22,7 +22,7 @@ class UsersController < ApplicationController def update @user = current_user - @user.update!(params[:user]) + @user.update(params[:user]) respond_with(@user, :location => edit_user_path(@user)) end end |