mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:55:43 +00:00
FIX: client side /my/ redirects were appending extra slash
This commit is contained in:
parent
248db310d3
commit
40dfac176f
@ -247,7 +247,7 @@ const DiscourseURL = EmberObject.extend({
|
||||
if (currentUser) {
|
||||
path = path.replace(
|
||||
myPath,
|
||||
userPath(currentUser.get("username_lower") + "/")
|
||||
userPath(currentUser.get("username_lower"))
|
||||
);
|
||||
} else {
|
||||
return redirectTo("/login-preferences");
|
||||
|
Loading…
x
Reference in New Issue
Block a user