fix /chat should go to gitter
This commit is contained in:
@ -231,13 +231,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
chat: function chat(req, res) {
|
chat: 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'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
jobsForm: function jobsForm(req, res) {
|
jobsForm: function jobsForm(req, res) {
|
||||||
|
Reference in New Issue
Block a user