From 9f1b6c58a5c630ba535f6dc8a411b5a89e2751ce Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 20 Jun 2015 23:16:45 -0700 Subject: [PATCH] fix /chat should go to gitter --- controllers/resources.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/controllers/resources.js b/controllers/resources.js index 0bf414954b..9101f82edf 100644 --- a/controllers/resources.js +++ b/controllers/resources.js @@ -231,13 +231,7 @@ module.exports = { }, chat: 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'); }, jobsForm: function jobsForm(req, res) {