From ec3eed5d2a9541892db1424da6e8e552f082f0e3 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 22 Apr 2012 10:05:26 -0300 Subject: [PATCH] Change method name --- app/controllers/devise/unlocks_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/devise/unlocks_controller.rb b/app/controllers/devise/unlocks_controller.rb index 953e076d..9c9ffdf7 100644 --- a/app/controllers/devise/unlocks_controller.rb +++ b/app/controllers/devise/unlocks_controller.rb @@ -11,7 +11,7 @@ class Devise::UnlocksController < DeviseController self.resource = resource_class.send_unlock_instructions(params[resource_name]) if successfully_sent?(resource) - respond_with({}, :location => after_sending_reset_unlock_instructions_path_for(resource)) + respond_with({}, :location => after_sending_unlock_instructions_path_for(resource)) else respond_with(resource) end @@ -32,7 +32,7 @@ class Devise::UnlocksController < DeviseController protected # The path used after sending unlock password instructions - def after_sending_reset_unlock_instructions_path_for(resource) + def after_sending_unlock_instructions_path_for(resource) new_session_path(resource) end