translating the footer... and sending the original 'doh

This commit is contained in:
psychobunny
2014-04-03 14:04:02 -04:00
parent a316927b2e
commit 3840a9e67e

View File

@@ -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);
}); });
}); });