fix /chat should go to gitterim

This commit is contained in:
Berkeley Martinez
2015-06-20 23:15:10 -07:00
parent 8f445b58f2
commit 629262dd0d

View File

@ -323,13 +323,7 @@ module.exports = function(app) {
}
function chat(req, res) {
if (req.user && req.user.progressTimestamps.length > 5) {
res.redirect('http://freecodecamp.slack.com');
} else {
res.render('resources/chat', {
title: 'Watch us code live on Twitch.tv'
});
}
res.redirect('//gitter.im/FreeCodeCamp/FreeCodeCamp');
}
function bootcampCalculator(req, res) {