cleaned up admin template mapping

v1.18.x
Julian Lam 11 years ago
parent 278f9bfc03
commit bd1e95b655

@ -1,24 +1,20 @@
{
"custom_mapping": {
"admin/testing/categories.*": "admin/testing/categories",
"admin/topics.*": "admin/topics",
"admin/categories.*": "admin/categories",
"admin/users.*": "admin/users",
"admin/redis.*": "admin/redis",
"admin/index.*": "admin/index",
"admin/themes.*": "admin/themes",
"admin/plugins.*": "admin/plugins",
"^admin/testing/categories.*": "admin/testing/categories",
"^admin/topics.*": "admin/topics",
"^admin/categories.*": "admin/categories",
"^admin/users.*": "admin/users",
"^admin/redis.*": "admin/redis",
"^admin/index.*": "admin/index",
"^admin/themes.*": "admin/themes",
"^admin/plugins.*": "admin/plugins",
"^admin/settings.*": "admin/settings",
"admin/twitter.*": "admin/twitter",
"admin/facebook.*": "admin/facebook",
"admin/logger.*": "admin/logger",
"admin/gplus.*": "admin/gplus",
"admin/motd/?$": "admin/motd",
"admin/groups/?$": "admin/groups",
"install/?$": "install/mail",
"install/mail/?": "install/mail",
"install/social/?": "install/social",
"install/privileges/?": "install/privileges",
"^admin/twitter.*": "admin/twitter",
"^admin/facebook.*": "admin/facebook",
"^admin/logger.*": "admin/logger",
"^admin/gplus.*": "admin/gplus",
"^admin/motd/?$": "admin/motd",
"^admin/groups/?$": "admin/groups",
"users/sort-posts": "users",
"users/latest": "users",
"users/sort-reputation": "users",

@ -30,9 +30,9 @@ var user = require('./../user.js'),
(function () {
var routes = [
'categories/active', 'categories/disabled', 'users', 'topics', 'settings', 'themes',
'twitter', 'facebook', 'gplus', 'redis', 'motd', 'groups','logger',
'twitter', 'facebook', 'gplus', 'redis', 'motd', 'groups', 'plugins', 'logger',
'users/latest', 'users/sort-posts', 'users/sort-reputation',
'users/search', 'plugins'
'users/search'
];
for (var i = 0, ii = routes.length; i < ii; i++) {

Loading…
Cancel
Save