diff --git a/src/controllers/users.js b/src/controllers/users.js index d416207e29..b2b9c32233 100644 --- a/src/controllers/users.js +++ b/src/controllers/users.js @@ -40,7 +40,7 @@ usersController.getOnlineUsers = function(req, res, next) { } var userData = { - 'users:online': true, + 'route_users:online': true, search_display: 'hidden', loadmore_display: results.count > 50 ? 'block' : 'hide', users: results.users, @@ -75,7 +75,7 @@ usersController.getUsers = function(set, start, stop, req, res, next) { users: data.users, pagination: pagination.create(1, pageCount) }; - userData[set] = true; + userData['route_' + set] = true; render(req, res, userData, next); }); };