Skip to content
Myr

Updated docs

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 47ff7d9 · Browse files · 2 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

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:docs/guide.1+2 added-2 removed
1.\" generated with Ronn/v0.6.62.\" http://github.com/rtomayko/ronn/3.4.TH "GUIDE" "" "July 2010" "" ""4.TH "GUIDE" "" "August 2010" "" ""5.6.SS "Installation"7curl:8.
244 unmodified lines
253.IP "" 4254.255.nf256257app\.get(\'/users/:id?\', function(req, res){257app\.get(\'/users/:id?\', function(req, res, next){258 var id = req\.params\.id;259 if (id) {260 // do something261 } else {
865 unmodified lines
modified:docs/guide.html+1 added-1 removed
396 unmodified lines
397<p>We may pass control to the next <em>matching</em> route, by calling the <em>third</em> argument,398the <em>next()</em> function. When a match cannot be made, control is passed back to Connect,399and middleware continue to be invoked.</p>400401<pre><code>app.get('/users/:id?', function(req, res){401<pre><code>app.get('/users/:id?', function(req, res, next){402 var id = req.params.id;403 if (id) {404 // do something405 } else {
567 unmodified lines