Revert "last commit doesn't play well with ajaxify, need a rethink."

This reverts commit f85678e938.
This commit is contained in:
psychobunny
2014-04-19 12:24:45 -04:00
parent f85678e938
commit da4113e1f1

View File

@@ -304,6 +304,8 @@ middleware.processRender = function(req, res, next) {
}
render.call(self, template, options, function(err, str) {
str = (res.locals.postHeader ? res.locals.postHeader : '') + str + (res.locals.preFooter ? res.locals.preFooter : '');
if (res.locals.footer) {
str = str + res.locals.footer;
} else if (res.locals.adminFooter) {