create shop with link to tshirt
This commit is contained in:
@ -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!');
|
||||
}
|
||||
|
Reference in New Issue
Block a user