fix /chat should go to gitterim
This commit is contained in:
@ -323,13 +323,7 @@ module.exports = function(app) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function chat(req, res) {
|
function chat(req, res) {
|
||||||
if (req.user && req.user.progressTimestamps.length > 5) {
|
res.redirect('//gitter.im/FreeCodeCamp/FreeCodeCamp');
|
||||||
res.redirect('http://freecodecamp.slack.com');
|
|
||||||
} else {
|
|
||||||
res.render('resources/chat', {
|
|
||||||
title: 'Watch us code live on Twitch.tv'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function bootcampCalculator(req, res) {
|
function bootcampCalculator(req, res) {
|
||||||
|
Reference in New Issue
Block a user