Skip to content
Myr

Merge pull request #1685 from CharlesHolbrow/master

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

Fix typo in app.param comment

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents 8ad8cb9, 3de81e0 · 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/application.js+1 added-1 removed
183 unmodified lines
184 * which use normalized placeholders. For example a _:user_id_ parameter185 * could automatically load a user's information from the database without186 * any additional code,187 *188 * The callback uses the samesignature as middleware, the only differencing188 * The callback uses the same signature as middleware, the only differencing189 * being that the value of the placeholder is passed, in this case the _id_190 * of the user. Once the `next()` function is invoked, just like middleware191 * it will continue on to execute the route, or subsequent parameter functions.192 *
344 unmodified lines