Skip to content
Browse files

Updated example usage of res.locals() as it contained an error.

  • Loading branch information...
1 parent 67ca22b commit acfa6a692e1f57c807444d9187e3b0089558a451 Benjen committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/guide.html
View
2 docs/guide.html
@@ -1451,7 +1451,7 @@ <h3 id="res.locals()">res.locals(obj)</h3>
<pre><code> res.local('foo', bar);
res.local('bar', baz);
- res.locals({ foo: bar, bar, baz });
+ res.locals({ foo: bar, bar: baz });
</code></pre>
<h3 id="app.set()">app.set(name[, val])</h3>

0 comments on commit acfa6a6

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