mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Convert server side paths to use /u/
This commit is contained in:
@ -189,7 +189,7 @@ class UsersController < ApplicationController
|
||||
cookies[:destination_url] = "/my/#{params[:path]}"
|
||||
redirect_to "/login-preferences"
|
||||
else
|
||||
redirect_to(path("/users/#{current_user.username}/#{params[:path]}"))
|
||||
redirect_to(path("/u/#{current_user.username}/#{params[:path]}"))
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user