remove mention of forum from fcc

This commit is contained in:
Michael Q Larson
2015-03-03 11:31:16 -08:00
parent 130f743dfc
commit 3416353baf
3 changed files with 4 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ exports.returnNextChallenge = function(req, res) {
exports.returnChallenge = function(req, res) {
var challengeNumber = parseInt(req.params.challengeNumber) || 0;
if (challengeNumber === 2) {
return res.redirect('../challenges/3');
}
if (challengeNumber > highestChallengeNumber) {
req.flash('errors', {
msg: "It looks like you've either completed all the challenges we have available or requested a challenge we don't have."