update to automatically redirect based on highest completed challenge hash value

This commit is contained in:
Michael Q Larson
2014-12-16 10:31:19 -08:00
parent e8d8b90461
commit 059fe5f39b
8 changed files with 28 additions and 236 deletions

View File

@ -66,12 +66,17 @@ exports.pairProgramWithTeamViewer = function(req, res) {
"Be sure to pair program on these challenges, and remember to apply the RSAP methodology.",
"Click the button below to return to the Pair Programming challenge, then mark it complete."],
cc: req.user.challengesHash
});
}
exports.about = function(req, res) {
res.render('about', {
title: 'Who We Are'
title: 'About Free Code Camp and Our Team of Volunteers'
});
}
exports.doneWithFirst100Hours = function(req, res) {
res.render('done-with-first-100-hours', {
title: 'Congratulations on finishing the first 100 hours of Free Code Camp!'
});
}