mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 06:52:46 +08:00
FIX: Foward requests to /u/new
to our Ember router.
This commit is contained in:
parent
0dd1d736c8
commit
47ca0f7f09
|
@ -309,7 +309,7 @@ Discourse::Application.routes.draw do
|
|||
get "user_preferences" => "users#user_preferences_redirect"
|
||||
|
||||
%w{users u}.each_with_index do |root_path, index|
|
||||
resources :users, except: [:show, :update, :destroy], path: root_path do
|
||||
resources :users, except: [:new, :show, :update, :destroy], path: root_path do
|
||||
collection do
|
||||
get "check_username"
|
||||
get "is_local_username"
|
||||
|
|
Loading…
Reference in New Issue
Block a user