mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
translating the footer... and sending the original 'doh
This commit is contained in:
@@ -158,7 +158,7 @@ middleware.buildHeader = function(req, res, next) {
|
|||||||
// consider caching this, since no user specific information is loaded here
|
// consider caching this, since no user specific information is loaded here
|
||||||
app.render('footer', {}, function(err, template) {
|
app.render('footer', {}, function(err, template) {
|
||||||
translator.translate(template, function(parsedTemplate) {
|
translator.translate(template, function(parsedTemplate) {
|
||||||
res.locals.footer = template;
|
res.locals.footer = parsedTemplate;
|
||||||
next(err);
|
next(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user