create the fastest site on the internet
This commit is contained in:
@ -36,6 +36,7 @@ module.exports = function(app) {
|
||||
router.get('/stories', showTestimonials);
|
||||
router.get('/all-stories', showAllTestimonials);
|
||||
router.get('/links', showLinks);
|
||||
router.get('/the-fastest-web-page-on-the-internet', theFastestWebPageOnTheInternet);
|
||||
|
||||
app.use(router);
|
||||
|
||||
@ -198,6 +199,12 @@ module.exports = function(app) {
|
||||
});
|
||||
}
|
||||
|
||||
function theFastestWebPageOnTheInternet(req, res) {
|
||||
res.render('resources/the-fastest-web-page-on-the-internet', {
|
||||
title: 'This is the fastest web page on the internet'
|
||||
});
|
||||
}
|
||||
|
||||
function showTestimonials(req, res) {
|
||||
res.render('resources/stories', {
|
||||
title: 'Testimonials from Happy Free Code Camp Students ' +
|
||||
|
Reference in New Issue
Block a user