summaryrefslogtreecommitdiff
path: root/users/app/controllers
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-17 19:03:45 +0100
committerAzul <azul@leap.se>2012-12-17 19:03:45 +0100
commitbe2d8fbd65f4ed2e1e97b19a3322da20e2fb4eda (patch)
treee4443e2dfcc90529d4cbf72303eacdc580fc5b72 /users/app/controllers
parentb90ce01890907d1c7f46f46bafcef416570a4c4b (diff)
activate email tab after changing email settings
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 811e8e5..feb66c8 100644
--- a/users/app/controllers/users_controller.rb
+++ b/users/app/controllers/users_controller.rb
@@ -36,7 +36,7 @@ class UsersController < ApplicationController
else
flash[:error] = @user.errors.full_messages
end
- respond_with @user, :location => edit_user_path(@user)
+ respond_with @user, :location => edit_user_path(@user, :anchor => :email)
end
def destroy