summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-20 22:54:34 +0100
committerAzul <azul@leap.se>2012-12-20 22:54:34 +0100
commita920cbfb8c35cc7452b258e2f007469c9bc9b9b1 (patch)
tree87b715463e2a66146f47c7afe7243ba4d7651060 /users/app
parent5d61ba0a80399b9e725881f857fdfa5414e5ef3f (diff)
render proper tab on update
Diffstat (limited to 'users/app')
-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 3d71c1a..79de630 100644
--- a/users/app/controllers/users_controller.rb
+++ b/users/app/controllers/users_controller.rb
@@ -37,7 +37,7 @@ class UsersController < ApplicationController
if @user.changed? and @user.save
flash[:notice] = t(:user_updated_successfully)
end
- respond_with @user, :location => edit_user_path(@user, :anchor => :email)
+ respond_with @user, :location => edit_user_path(@user, :anchor => @anchor)
end
def destroy