create shop with link to tshirt

This commit is contained in:
Quincy Larson
2016-02-05 21:06:30 -08:00
parent bf2c944b87
commit a55488e5eb
3 changed files with 26 additions and 0 deletions

View File

@ -32,6 +32,7 @@ module.exports = function(app) {
router.get('/submit-cat-photo', submitCatPhoto);
router.get('/labs', showLabs);
router.get('/stories', showTestimonials);
router.get('/shop', showShop);
router.get('/all-stories', showAllTestimonials);
router.get('/terms', terms);
router.get('/privacy', privacy);
@ -208,6 +209,13 @@ module.exports = function(app) {
});
}
function showShop(req, res) {
res.render('resources/shop', {
title: 'Support Free Code Camp by Buying t-shirts, ' +
'stickers, and other goodies'
});
}
function submitCatPhoto(req, res) {
res.send('Submitted!');
}