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',
|
2022-08-29 07:26:21 +02:00
|
|
|
csrf_token: req.csrfToken(),
|
|
|
|
locale: req.i18n.locale
|
2022-08-28 09:14:02 +02:00
|
|
|
});
|
2022-08-17 14:27:37 +02:00
|
|
|
}
|
|
|
|
|
2022-08-24 18:37:57 +02:00
|
|
|
function getAbout(req, res) {
|
2022-08-29 07:26:21 +02:00
|
|
|
res.render('about', {
|
|
|
|
title: 'About SoundBirder',
|
|
|
|
locale: req.i18n.locale
|
|
|
|
});
|
2022-08-24 18:37:57 +02:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|