Skip to content

Commit c617b49

Browse files
committed
Better alias for password reset
1 parent 92c6d4e commit c617b49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
resources :stats, only: [:index]
242242

243243
resources :password_reset_keys
244+
get 'reset_password', to: 'password_reset_keys#new', as: 'reset_password_pretty'
244245
get '/reset_password/:token' => 'password_reset_keys#show', :as => 'reset_password'
245246
delete '/reset_password/:token' => 'password_reset_keys#destroy'
246247

0 commit comments

Comments
 (0)