soundbirder/controllers/index.js

16 lines
271 B
JavaScript

function getIndex(req, res) {
res.render('index', {
title: 'SoundBirder',
csrf_token: req.csrfToken()
});
}
function getAbout(req, res) {
res.render('about', { title: 'About SoundBirder' });
}
module.exports = {
getIndex,
getAbout
}