FIX: client side /my/ redirects were appending extra slash

This commit is contained in:
Arpit Jalan 2020-06-04 17:32:34 +05:30
parent 248db310d3
commit 40dfac176f
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ const DiscourseURL = EmberObject.extend({
if (currentUser) { if (currentUser) {
path = path.replace( path = path.replace(
myPath, myPath,
userPath(currentUser.get("username_lower") + "/") userPath(currentUser.get("username_lower"))
); );
} else { } else {
return redirectTo("/login-preferences"); return redirectTo("/login-preferences");