Hooking up Angular to Profile.jade
This commit is contained in:
1
app.js
1
app.js
@ -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);
|
||||
|
Reference in New Issue
Block a user