Adding name to passed variables for generated bonfires
parent
5294462e4c
commit
4fcca641b6
2
app.js
2
app.js
|
@ -304,8 +304,6 @@ app.post('/completed-bonfire/', function (req, res) {
|
|||
}
|
||||
pairedWith = pairedWith.pop();
|
||||
|
||||
//debug('This is paired with', Object.keys(pairedWith));
|
||||
debug('This is paired with\'s uncompleted bonfires array', pairedWith.uncompletedBonfires);
|
||||
index = pairedWith.uncompletedBonfires.indexOf(bonfireHash);
|
||||
if (index > -1) {
|
||||
pairedWith.uncompletedBonfires.splice(index,1)
|
||||
|
|
|
@ -179,6 +179,7 @@ exports.testBonfire = function(req, res) {
|
|||
res.render('bonfire/show', {
|
||||
completedWith: null,
|
||||
title: bonfireName,
|
||||
name: bonfireName,
|
||||
difficulty: +bonfireDifficulty,
|
||||
brief: bonfireDescription[0],
|
||||
details: bonfireDescription.slice(1),
|
||||
|
|
Loading…
Reference in New Issue