FIX: Don't re-write admin urls for users
This commit is contained in:
parent
00ecec1ee4
commit
b81871b963
|
@ -6,6 +6,6 @@ export default {
|
||||||
Discourse.URL.rewrite(/^\/category\//, "/c/");
|
Discourse.URL.rewrite(/^\/category\//, "/c/");
|
||||||
Discourse.URL.rewrite(/^\/group\//, "/groups/");
|
Discourse.URL.rewrite(/^\/group\//, "/groups/");
|
||||||
Discourse.URL.rewrite(/\/private-messages\/$/, "/messages/");
|
Discourse.URL.rewrite(/\/private-messages\/$/, "/messages/");
|
||||||
Discourse.URL.rewrite(/\/users\/([^\/]+)\/?$/, "/users/$1/activity");
|
Discourse.URL.rewrite(/^\/users\/([^\/]+)\/?$/, "/users/$1/activity");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue