Skip to content

Commit

Permalink
Change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Apr 22, 2012
1 parent 49873f4 commit ec3eed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/devise/unlocks_controller.rb
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit ec3eed5

Please sign in to comment.