From 402c654e1922d38f7ccfe93d02c44a56391182c3 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Thu, 7 Mar 2013 11:56:29 -0500 Subject: [PATCH] Redirect to root after resetting pass --- auth/app/controllers/user_passwords_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/app/controllers/user_passwords_controller.rb b/auth/app/controllers/user_passwords_controller.rb index ee53aee..a4be279 100755 --- a/auth/app/controllers/user_passwords_controller.rb +++ b/auth/app/controllers/user_passwords_controller.rb @@ -21,7 +21,7 @@ def create if resource.errors.empty? set_flash_message(:notice, :send_instructions) if is_navigational_format? - redirect_to resource, :location => new_session_path(resource_name) + redirect_to root_url else render :new end