fix title for dashboard

v1.18.x
psychobunny 9 years ago
parent aa3fa477e3
commit 9bef54b5ed

@ -112,7 +112,7 @@ middleware.renderHeader = function(req, res, data, next) {
scripts: results.scripts,
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
env: process.env.NODE_ENV ? true : false,
title: acpPath + ' | NodeBB Admin Control Panel'
title: (acpPath || 'Dashboard') + ' | NodeBB Admin Control Panel'
};
templateValues.template = {name: res.locals.template};

Loading…
Cancel
Save