Hooking up Angular to Profile.jade

This commit is contained in:
terakilobyte
2015-01-06 00:52:30 -05:00
parent be22449d25
commit 41a1bc37c3
4 changed files with 25 additions and 15 deletions

1
app.js
View File

@ -250,6 +250,7 @@ app.get(
);
app.all('/account', passportConf.isAuthenticated);
app.get('/account', userController.getAccount);
app.get('/account/api', userController.getAccountAngular);
app.post('/account/profile', userController.postUpdateProfile);
app.post('/account/password', userController.postUpdatePassword);
app.post('/account/delete', userController.postDeleteAccount);