mirror of
https://github.com/discourse/discourse.git
synced 2025-06-19 22:23:04 +08:00
FIX: users_account_created_path
should point to /u/
This commit is contained in:
@ -324,7 +324,9 @@ Discourse::Application.routes.draw do
|
|||||||
post "#{root_path}/toggle-anon" => "users#toggle_anon"
|
post "#{root_path}/toggle-anon" => "users#toggle_anon"
|
||||||
post "#{root_path}/read-faq" => "users#read_faq"
|
post "#{root_path}/read-faq" => "users#read_faq"
|
||||||
get "#{root_path}/search/users" => "users#search_users"
|
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/resent" => "users#account_created"
|
||||||
get "#{root_path}/account-created/edit-email" => "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 } : {}))
|
get({ "#{root_path}/password-reset/:token" => "users#password_reset" }.merge(index == 1 ? { as: :password_reset_token } : {}))
|
||||||
|
Reference in New Issue
Block a user