20 lines
350 B
JavaScript
20 lines
350 B
JavaScript
|
|
function getIndex(req, res) {
|
|
res.render('index', {
|
|
title: 'SoundBirder',
|
|
csrf_token: req.csrfToken(),
|
|
locale: req.i18n.locale
|
|
});
|
|
}
|
|
|
|
function getAbout(req, res) {
|
|
res.render('about', {
|
|
title: 'About SoundBirder',
|
|
locale: req.i18n.locale
|
|
});
|
|
}
|
|
|
|
module.exports = {
|
|
getIndex,
|
|
getAbout
|
|
} |