Remove routes and views for legacy terms of service and privacy pages
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user