2022-08-17 14:27:37 +02:00
|
|
|
|
2022-08-24 18:37:57 +02:00
|
|
|
function getIndex(req, res) {
|
2022-08-28 09:14:02 +02:00
|
|
|
res.render('index', {
|
|
|
|
title: 'SoundBirder',
|
|
|
|
csrf_token: req.csrfToken()
|
|
|
|
});
|
2022-08-17 14:27:37 +02:00
|
|
|
}
|
|
|
|
|
2022-08-24 18:37:57 +02:00
|
|
|
function getAbout(req, res) {
|
|
|
|
res.render('about', { title: 'About SoundBirder' });
|
|
|
|
}
|
|
|
|
|
2022-08-17 14:27:37 +02:00
|
|
|
module.exports = {
|
|
|
|
getIndex,
|
2022-08-24 18:37:57 +02:00
|
|
|
getAbout
|
2022-08-17 14:27:37 +02:00
|
|
|
}
|