Remove routes and views for legacy terms of service and privacy pages

This commit is contained in:
padulam
2017-06-24 22:22:42 -04:00
parent 36c61b1c52
commit 0194f82f21
3 changed files with 0 additions and 91 deletions

View File

@@ -32,8 +32,6 @@ module.exports = function(app) {
router.get('/stories', showTestimonials);
router.get('/shop', showShop);
router.get('/all-stories', showAllTestimonials);
router.get('/terms', terms);
router.get('/privacy', privacy);
router.get('/how-nonprofit-projects-work', howNonprofitProjectsWork);
router.get(
'/software-resources-for-nonprofits',
@@ -49,18 +47,6 @@ module.exports = function(app) {
res.redirect('https://gitter.im/FreeCodeCamp/FreeCodeCamp');
}
function terms(req, res) {
res.render('resources/terms-of-service', {
title: 'Terms of Service'
});
}
function privacy(req, res) {
res.render('resources/privacy', {
title: 'Privacy policy'
});
}
function howNonprofitProjectsWork(req, res) {
res.render('resources/how-nonprofit-projects-work', {
title: 'How our nonprofit projects work'