mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Foward requests to /u/new to our Ember router.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user