FIX: `users_account_created_path` should point to `/u/`

This commit is contained in:
Robin Ward 2017-05-11 11:18:06 -04:00
parent 006b35d2f3
commit 01d2685c60
1 changed files with 3 additions and 1 deletions

View File

@ -324,7 +324,9 @@ Discourse::Application.routes.draw do
post "#{root_path}/toggle-anon" => "users#toggle_anon"
post "#{root_path}/read-faq" => "users#read_faq"
get "#{root_path}/search/users" => "users#search_users"
get "#{root_path}/account-created/" => "users#account_created"
get({ "#{root_path}/account-created/" => "users#account_created" }.merge(index == 1 ? { as: :users_account_created } : {as: :old_account_created}))
get "#{root_path}/account-created/resent" => "users#account_created"
get "#{root_path}/account-created/edit-email" => "users#account_created"
get({ "#{root_path}/password-reset/:token" => "users#password_reset" }.merge(index == 1 ? { as: :password_reset_token } : {}))