massive redesign of user model and the way it interacts with bonfires, successfully returning next bonfire for the user, showing meet bonfire to unauthenticated users

This commit is contained in:
Nathan Leniz
2015-01-27 01:22:02 -05:00
parent 2e5dd6ea73
commit 227c938445
5 changed files with 77 additions and 134 deletions

View File

@@ -74,8 +74,7 @@ $(document).ready(function() {
console.log(didCompleteWith);
console.log(bonfireSolution, thisBonfireHash);
completedBonfire(didCompleteWith, bonfireSolution, thisBonfireHash);
l = location.pathname.split('/');
window.location = '/bonfires/' + (parseInt(l[l.length - 1]) + 1);
window.location = '/bonfires/';
});
// Bonfire instructions functions