From 39de76fa5c9dfa0d46da8fd293eff4fa3e6bfe17 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 4 Oct 2014 15:52:20 -0400 Subject: [PATCH] rearranging manage/users routes --- src/routes/admin.js | 2 +- src/views/admin/header.tpl | 2 +- src/views/admin/manage/users.tpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/admin.js b/src/routes/admin.js index ab2d3c14b1..3a64902b93 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -46,7 +46,7 @@ function addRoutes(router, middleware, controllers) { router.get('/manage/tags', controllers.admin.tags.get); - router.get('/manage/users', controllers.admin.users.search); + router.get('/manage/users', controllers.admin.users.sortByJoinDate); router.get('/manage/users/search', controllers.admin.users.search); router.get('/manage/users/latest', controllers.admin.users.sortByJoinDate); router.get('/manage/users/sort-posts', controllers.admin.users.sortByPosts); diff --git a/src/views/admin/header.tpl b/src/views/admin/header.tpl index def766a09f..d393adf6b8 100644 --- a/src/views/admin/header.tpl +++ b/src/views/admin/header.tpl @@ -104,7 +104,7 @@
  • Categories
  • Tags
  • -
  • Users
  • +
  • Users
  • Groups
  • diff --git a/src/views/admin/manage/users.tpl b/src/views/admin/manage/users.tpl index 380679cfd4..b5b372beeb 100644 --- a/src/views/admin/manage/users.tpl +++ b/src/views/admin/manage/users.tpl @@ -4,11 +4,11 @@
    Users