Skip to content

Commit

Permalink
Use root_url instead of of default_url
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Nov 21, 2008
1 parent 1d9d16d commit f65ff65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/password_resets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def create
@user.deliver_password_reset_instructions!
flash[:notice] = "Instructions to reset your password have been emailed to you. " +
"Please check your email."
redirect_to default_url
redirect_to root_url
else
flash[:notice] = "No user was found with that email address"
render :action => :new
Expand Down Expand Up @@ -42,7 +42,7 @@ def load_user_using_perishable_token
"If you are having issues try copying and pasting the URL " +
"from your email into your browser or restarting the " +
"reset password process."
redirect_to default_url
redirect_to root_url
end
end
end

0 comments on commit f65ff65

Please sign in to comment.