Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit acfa6a692e1f57c807444d9187e3b0089558a451 1 parent 67ca22b
Benjen authored
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>
Please sign in to comment.
Something went wrong with that request. Please try again.