Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change method name

  • Loading branch information...
commit ec3eed5d2a9541892db1424da6e8e552f082f0e3 1 parent 49873f4
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/devise/unlocks_controller.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.