Skip to content
Myr

misc

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 cca5d7e · 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:lib/response.js+1 added-1 removed
444 unmodified lines
445 *446 * We may also map dynamic redirects:447 *448 * app.redirect('comments', function(req, res){449 * return '/post/' + req.params.id + '/comments';449 * return '/post/' + req.params.id + '/comments';450 * });451 *452 * So now we may do the following, and the redirect will dynamically adjust to453 * the context of the request. If we called this route with _GET /post/12_ our
150 unmodified lines