FIX: Don't re-write admin urls for users

This commit is contained in:
Robin Ward 2015-07-29 17:57:58 -04:00
parent 00ecec1ee4
commit b81871b963
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }
}; };