Gives an example of next('route') #160

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants

This change explains and adds an example of calling next('route') inside a Route.param() as described in strongloop/express#2142

Feel free to correct my English, I'll change if needed.

Gives an example of next('route')
This change explains and adds an example of calling `next('route')` inside a `Route.param()` as described in #2142.

@dresende dresende referenced this pull request in expressjs/express May 26, 2014

Closed

Route.param() regex + callback #2142

just say "(for example, a numeric value)"

I would not use < code > tag for "callback", because it is generally reserved for literal code / function names, as in the subsequent example.

I'm not in a position to comment on the technical veracity, but aside from the minor corrections I noted, the English is fine and seems straightforward enough.

Owner

dresende replied Aug 13, 2014

I'm fixing them right now

@hacksparrow hacksparrow closed this Sep 5, 2014

@dresende dresende deleted the dresende:patch-1 branch Sep 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment