summaryrefslogtreecommitdiff
path: root/users/app/controllers
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-07 12:30:15 +0100
committerAzul <azul@leap.se>2012-12-07 12:30:15 +0100
commita2d343619e752f62cb7e3445803e4491696af391 (patch)
treed479b9a11d69d2d4098b4e67058eb11f8ff34b32 /users/app/controllers
parentaf101adb7c66201e175642ff0ef99988b42d2df2 (diff)
using normal requests for user updates except password
password requires ajax for secure remote password to work
Diffstat (limited to 'users/app/controllers')
-rw-r--r--users/app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/users_controller.rb b/users/app/controllers/users_controller.rb
index cffc8c6..320ed96 100644
--- a/users/app/controllers/users_controller.rb
+++ b/users/app/controllers/users_controller.rb
@@ -31,7 +31,7 @@ class UsersController < ApplicationController
def update
@user.update_attributes(params[:user])
- respond_with @user
+ respond_with @user, :location => edit_user_path(@user)
end
def destroy