Remove old terminology

This commit is contained in:
Berkeley Martinez
2016-01-15 06:08:54 -08:00
parent df26aa0a84
commit 12b2be9db8
4 changed files with 25 additions and 12 deletions

View File

@@ -146,7 +146,7 @@ function getRenderData$(user, challenge$, origChallengeName, solution) {
type: 'redirect',
redirectUrl: '/map',
message: dedent`
404: We couldn\'t find a challenge with the name ${origChallengeName}.
We couldn't find a challenge with the name ${origChallengeName}.
Please double check the name.
`
});
@@ -478,8 +478,9 @@ module.exports = function(app) {
function showChallenge(req, res, next) {
const solution = req.query.solution;
const challengeName = req.params.challengeName.replace(challengesRegex, '');
getRenderData$(req.user, challenge$, req.params.challengeName, solution)
getRenderData$(req.user, challenge$, challengeName, solution)
.subscribe(
({ type, redirectUrl, message, data }) => {
if (message) {