v1.18.x
Julian Lam 8 years ago
parent 5303fe1321
commit 1abef16cd9

@ -32,5 +32,5 @@ module.exports = function (app, middleware, controllers) {
setupPageRoute(app, '/notifications', middleware, [middleware.authenticate], controllers.accounts.notifications.get);
setupPageRoute(app, '/user/:userslug/chats/:roomid?', middleware, middlewares, controllers.accounts.chats.get);
setupPageRoute(app, '/chats/:roomid?', middleware, [], controllers.accounts.chats.redirectToChat);
setupPageRoute(app, '/chats/:roomid?', middleware, [middleware.ensureLoggedIn], controllers.accounts.chats.redirectToChat);
};

Loading…
Cancel
Save