|
|
@ -78,7 +78,7 @@ function accountRoutes(app, middleware, controllers) {
|
|
|
|
function userRoutes(app, middleware, controllers) {
|
|
|
|
function userRoutes(app, middleware, controllers) {
|
|
|
|
var middlewares = [middleware.checkGlobalPrivacySettings];
|
|
|
|
var middlewares = [middleware.checkGlobalPrivacySettings];
|
|
|
|
|
|
|
|
|
|
|
|
setupPageRoute(app, '/users', middleware, middlewares, controllers.users.getOnlineUsers);
|
|
|
|
setupPageRoute(app, '/users', middleware, middlewares, controllers.users.redirectToOnlineUsers);
|
|
|
|
setupPageRoute(app, '/users/online', middleware, middlewares, controllers.users.getOnlineUsers);
|
|
|
|
setupPageRoute(app, '/users/online', middleware, middlewares, controllers.users.getOnlineUsers);
|
|
|
|
setupPageRoute(app, '/users/sort-posts', middleware, middlewares, controllers.users.getUsersSortedByPosts);
|
|
|
|
setupPageRoute(app, '/users/sort-posts', middleware, middlewares, controllers.users.getUsersSortedByPosts);
|
|
|
|
setupPageRoute(app, '/users/sort-reputation', middleware, middlewares, controllers.users.getUsersSortedByReputation);
|
|
|
|
setupPageRoute(app, '/users/sort-reputation', middleware, middlewares, controllers.users.getUsersSortedByReputation);
|
|
|
|