Fixed bonfire to allow users to enter contractions

This commit is contained in:
Nathan Leniz
2015-01-26 12:30:04 -05:00
parent c20aa1697c
commit ead9fe56d1
5 changed files with 28 additions and 21 deletions

3
app.js
View File

@ -260,6 +260,9 @@ app.get(
'/bonfires/:bonfireNumber',
bonfireController.returnIndividualBonfire
);
app.get('/bonfire', function(req, res) {
res.redirect(301, '/playground');
});
app.get('/bonfires', bonfireController.returnBonfire);
app.get('/bonfire/generator', bonfireController.returnGenerator);
app.post('/bonfire/generator', bonfireController.generateChallenge);