add route to nonprofit resources list

This commit is contained in:
Quincy Larson
2016-07-28 00:12:32 -07:00
parent 96759595be
commit f28e4a95f7
3 changed files with 93 additions and 1 deletions

View File

@ -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'