Permalink
Browse files

Change method name

  • Loading branch information...
carlosantoniodasilva committed Apr 22, 2012
1 parent 49873f4 commit ec3eed5d2a9541892db1424da6e8e552f082f0e3
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/devise/unlocks_controller.rb
@@ -11,7 +11,7 @@ def create
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 @@ def show
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

0 comments on commit ec3eed5

Please sign in to comment.