This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ProgBlog/app/controllers/index.js

16 lines
219 B
JavaScript

'use strict';
module.exports = {
'/': {
// Get homepage
get: (req, res) => {
req.negotiate({
html: () => {
return res.render('index', {
title: 'Blog test page',
});
},
});
},
},
};