add an explanation of how our nonprofit projects work

This commit is contained in:
Quincy Larson
2016-02-19 17:36:03 -08:00
parent fab4ab8d12
commit 389ea7529c
3 changed files with 59 additions and 0 deletions

View File

@ -38,6 +38,7 @@ module.exports = function(app) {
router.get('/all-stories', showAllTestimonials);
router.get('/terms', terms);
router.get('/privacy', privacy);
router.get('/how-nonprofit-projects-work', howNonprofitProjectsWork);
router.get('/code-of-conduct', codeOfConduct);
router.get('/academic-honesty', academicHonesty);
@ -183,6 +184,12 @@ module.exports = function(app) {
});
}
function howNonprofitProjectsWork(req, res) {
res.render('resources/how-nonprofit-projects-work', {
title: 'How our nonprofit projects work'
});
}
function codeOfConduct(req, res) {
res.render('resources/code-of-conduct', {
title: 'Code of Conduct'