issue #1788 - start

This commit is contained in:
Julian Lam
2014-07-04 19:54:47 -04:00
parent bc257c1c10
commit 4d85df5bae
6 changed files with 25 additions and 3 deletions

View File

@@ -121,6 +121,8 @@ function accountRoutes(app, middleware, controllers) {
app.get('/chats', middleware.buildHeader, middleware.authenticate, controllers.accounts.getChats);
app.get('/api/chats', middleware.authenticate, controllers.accounts.getChats);
app.get('/chats/:userslug', middleware.buildHeader, middleware.authenticate, middleware.getChatMessages, controllers.accounts.getChats);
app.get('/api/chats/:userslug', middleware.authenticate, middleware.getChatMessages, controllers.accounts.getChats);
}
function userRoutes(app, middleware, controllers) {