Add migration middleware to map route

This commit is contained in:
terakilobyte
2015-05-26 03:17:50 -04:00
parent 4991d2c07d
commit 6b9044febd

5
app.js
View File

@ -273,7 +273,10 @@ app.get('/nonprofits/getNonprofitList', nonprofitController.showAllNonprofits);
app.get('/nonprofits-form', resourcesController.nonprofitsForm);
app.get('/map', challengeMapController.challengeMap);
app.get('/map',
userController.userMigration,
challengeMapController.challengeMap
);
app.get('/live-pair-programming', function(req, res) {
res.redirect(301, '/field-guide/live-stream-pair-programming-on-twitch.tv');