I followed this password_reset tutorial and was able to get it working. But there are a few things I don't like about it that I want to change.
I'd like it to say
password_resetrather thanreset_passwordsin the url. Which I've managed to accomplish by renaming the controller and routing it inconfig/routes.rbasmap.resources :reset_passwords, :as => 'reset_password', :only => [:index, :create, :edit, :update]I'd like to have
domain.com/password_resetto link to thepassword_resetpage, rather than havingdomain.com/password_reset/new
I was able to do this by changing it so that the view with the form where you enter your email is no longer "new" but "index".I'd like to have it so when the user is emailed with the
perishable_token, it gives them a url likedomain.com/password_reset/perishable_tokenordomain.com/verify_password_reset/perishable_tokenrather thandomain.com/password_reset/perishable_token/edit.
Or at the least I'd like to have it asdomain.com/password_reset/perishable_token/verify
I cannot figure out how to get the third one to work.