Skip to content
Myr

Fixed migration typo

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 6d9c9cd · Browse files · 3 files+3 added−3 removed
This commit

State

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

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:docs/migrate.1+1 added-1 removed
154 unmodified lines
155.IP "" 4156.157.nf158159app\.get(\'/user/:id\', function(){159app\.get(\'/user/:id\', function(req, res){160 req\.param(\'id\');161});162.163.fi
184 unmodified lines
modified:docs/migrate.html+1 added-1 removed
278 unmodified lines
279</code></pre>280281<p>Polymorphic parameter access can be done using <code>req.param()</code>:</p>282283<pre><code>app.get('/user/:id', function(){283<pre><code>app.get('/user/:id', function(req, res){284 req.param('id');285});286</code></pre>287
111 unmodified lines
modified:docs/migrate.md+1 added-1 removed