From d8bcdf4de094e44699cfb711b2f190b77856353c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 12 Jan 2016 12:01:17 -0500 Subject: [PATCH] add title to /compose route --- src/controllers/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/index.js b/src/controllers/index.js index f3f11fc129..2f8f82350e 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -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); } });