Rename all passedCoursewareHash variables to challengeName in relevant views.

This commit is contained in:
terakilobyte
2015-05-20 10:38:31 -04:00
parent 6ba2a7ee9b
commit 81b2661e0e
4 changed files with 4 additions and 5 deletions

View File

@ -98,7 +98,7 @@ exports.returnNextChallenge = function(req, res, next) {
var nameString = nextChallengeName.trim()
.toLowerCase()
.replace(/\s/g, '-')
.replace(/\s/g, '-');
return res.redirect('../challenges/' + nameString);
};