add route to nonprofit resources list
This commit is contained in:
@ -28,6 +28,10 @@ module.exports = function(app) {
|
||||
router.get('/terms', terms);
|
||||
router.get('/privacy', privacy);
|
||||
router.get('/how-nonprofit-projects-work', howNonprofitProjectsWork);
|
||||
router.get(
|
||||
'/software-resources-for-nonprofits',
|
||||
softwareResourcesForNonprofits
|
||||
);
|
||||
router.get('/code-of-conduct', codeOfConduct);
|
||||
router.get('/academic-honesty', academicHonesty);
|
||||
router.get(
|
||||
@ -59,6 +63,12 @@ module.exports = function(app) {
|
||||
});
|
||||
}
|
||||
|
||||
function softwareResourcesForNonprofits(req, res) {
|
||||
res.render('resources/software-resources-for-nonprofits', {
|
||||
title: 'Software Resources for Nonprofits'
|
||||
});
|
||||
}
|
||||
|
||||
function codeOfConduct(req, res) {
|
||||
res.render('resources/code-of-conduct', {
|
||||
title: 'Code of Conduct'
|
||||
|
Reference in New Issue
Block a user