add unsubscribe path

This commit is contained in:
Quincy Larson
2015-04-30 23:41:40 -07:00
parent c71514cc81
commit 19456f2e23
4 changed files with 46 additions and 0 deletions

10
app.js
View File

@@ -514,6 +514,16 @@ app.post(
storyController.upvote
);
app.get(
'/unsubscribe/:email',
resourcesController.unsubscribe
);
app.get(
'/unsubscribed',
resourcesController.unsubscribed
);
app.all('/account', passportConf.isAuthenticated);
app.get('/account/api', userController.getAccountAngular);