Update chat link, fix 404 for ziplines and basejumps

pull/537/head
terakilobyte 2015-05-26 09:57:40 -04:00
parent 081a76d0d6
commit 3078fa8104
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ exports.returnCurrentChallenge = function(req, res, next) {
exports.returnIndividualChallenge = function(req, res, next) { exports.returnIndividualChallenge = function(req, res, next) {
var dashedName = req.params.challengeName; var dashedName = req.params.challengeName;
var challengeName = /^(bonfire|waypoint)/.test(dashedName) ? dashedName var challengeName = /^(bonfire|waypoint|zipline|basejump)/.test(dashedName) ? dashedName
.replace(/\-/g, ' ') .replace(/\-/g, ' ')
.split(' ') .split(' ')
.slice(1) .slice(1)

View File

@ -23,7 +23,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
a(href='/chat', target='_blank') Chat a(href='/chat', target='_blank') Chat
else else
li li
a(href='/challenges/join-our-chat-room') Chat a(href='/challenges/waypoint-join-our-chat-room') Chat
li li
a(href='/news') News a(href='/news') News
li li