From a920cbfb8c35cc7452b258e2f007469c9bc9b9b1 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 20 Dec 2012 22:54:34 +0100 Subject: render proper tab on update --- users/app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/app') 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 -- cgit v1.2.3