More steps towards building the bonfire challenge interface

This commit is contained in:
Nathan Leniz
2015-01-22 13:20:46 -05:00
parent 094b937148
commit 378277f0e1
8 changed files with 111 additions and 64 deletions

8
app.js
View File

@ -251,10 +251,10 @@ app.get(
app.all('/account', passportConf.isAuthenticated);
app.get('/account/api', userController.getAccountAngular);
app.get('/bonfire', bonfireController.index);
//app.get(
// '/bonfire/:bonfireNumber',
// bonfireController.returnBonfire
//);
app.get(
'/bonfire/:bonfireNumber',
bonfireController.returnBonfire
);
// Unique Check API route
app.get('/api/checkUniqueUsername/:username', userController.checkUniqueUsername);