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

This reverts commit f85678e938.
v1.18.x
psychobunny 11 years ago
parent f85678e938
commit da4113e1f1

@ -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) {

Loading…
Cancel
Save