Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Benjen · committed by Benjen · parent 67ca22b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/guide.html+1 added-1 removed
1449 unmodified lines
14501451<pre><code> res.local('foo', bar);1452 res.local('bar', baz);14531454 res.locals({ foo: bar, bar, baz });1454 res.locals({ foo: bar, bar: baz });1455</code></pre>14561457<h3 id="app.set()">app.set(name[, val])</h3>1458
349 unmodified lines