Merge pull request #7158 from QuincyLarson/feature/add-nonprofit-project-description

Add an explanation of how our nonprofit projects work
This commit is contained in:
Logan Tegman
2016-03-16 12:57:23 -07:00
3 changed files with 73 additions and 0 deletions

View File

@@ -40,6 +40,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);
@@ -185,6 +186,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'