add title to /compose route

v1.18.x
psychobunny 9 years ago
parent da338a1341
commit d8bcdf4de0

@ -167,8 +167,11 @@ Controllers.compose = function(req, res, next) {
}
if (data.templateData.disabled) {
res.render('', {});
res.render('', {
title: '[[modules:composer.compose]]'
});
} else {
data.templateData.title = '[[modules:composer.compose]]';
res.render('compose', data.templateData);
}
});

Loading…
Cancel
Save