Skip to content
Browse files

Fix concurrency bug!

  • Loading branch information...
1 parent 83234e2 commit 38db1e849b7c8aa1535f2d687f6792f6cab6e2b6 @aseemk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks.js
View
2 blocks.js
@@ -58,7 +58,7 @@ module.exports = function(req, res, next) {
return context.filename;
}
- req.app.helpers({
+ res.locals({
// block(name, html) adds the given HTML to the named block;
// block(name) returns the combined HTML for the named block

0 comments on commit 38db1e8

Please sign in to comment.
Something went wrong with that request. Please try again.