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