This commit is contained in:
barisusakli
2014-05-12 18:42:13 -04:00
parent fc00586f0e
commit c5d9a68b4b
7 changed files with 43 additions and 5 deletions

View File

@@ -101,6 +101,9 @@ function accountRoutes(app, middleware, controllers) {
app.get('/notifications', middleware.buildHeader, middleware.authenticate, controllers.accounts.getNotifications);
app.get('/api/notifications', middleware.authenticate, controllers.accounts.getNotifications);
app.get('/chats', middleware.buildHeader, middleware.authenticate, controllers.accounts.getChats);
app.get('/api/chats', middleware.authenticate, controllers.accounts.getChats);
}
function userRoutes(app, middleware, controllers) {