add learn-to-code

This commit is contained in:
Michael Q Larson
2014-11-11 17:52:03 -08:00
parent 6a0bb0452b
commit fdff7d1691
5 changed files with 86 additions and 74 deletions

1
app.js
View File

@@ -123,6 +123,7 @@ app.use(express.static(path.join(__dirname, 'public'), { maxAge: week }));
app.get('/', homeController.index);
app.get('/challenges/:challengeNumber', challengesController.returnChallenge);
app.get('/resources/interview-questions', resourcesController.interviewQuestions);
app.get('/learn-to-code', resourcesController.learnToCode);
app.get('/login', userController.getLogin);
app.post('/login', userController.postLogin);
app.get('/logout', userController.logout);