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) {
|
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");
|
||||||
|
|
Loading…
Reference in New Issue