Skip to content

Commit

Permalink
Merge pull request hapijs#3865 from Nargonath/rules-doc
Browse files Browse the repository at this point in the history
Add rules processor first param explanation
  • Loading branch information
hueniverse authored Nov 6, 2018
2 parents 164f97f + b08ac6e commit 200596b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ server.route({ method: '*', path: '/{p*}', handler });
Defines a route rules processor for converting route rules object into route configuration where:

- `processor` - a function using the signature `function(rules, info)` where:
- `rules` -
- `rules` - the [custom object](#route.options.rules) defined in your routes configuration for you to use its values.
- `info` - an object with the following properties:
- `method` - the route method.
- `path` - the route path.
Expand Down

0 comments on commit 200596b

Please sign in to comment.