Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jeremyruppel
Copy link

In addition to the route-specific middleware functionality already available in the Router module, I would like to be able to add middleware to a stack that applies to all routes. This patch introduces the use method on Router, which mimics the express API for adding middleware.

@caridy
Copy link
Member

caridy commented Mar 6, 2014

cool, I think this might be useful, let's see what @ericf thinks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants