Skip to content

Commit

Permalink
Merge pull request #285 from raveljs/docs/typo
Browse files Browse the repository at this point in the history
Fixing typo
  • Loading branch information
Ghnuberath authored Dec 6, 2019
2 parents 781d662 + 23ccf58 commit 101aed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/decorators/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Metadata = require('../../util/meta');
* is more applicable). Clients decorate a class with this decorator to create a `Routes` module.
*
* Route paths are the concatenation of the basePath provided to `@Routes(basePath)`, with the
* subpath passed to `@mapping(method, subpath)`. Route paths may incorporate complex patterns, such as:
* subpath passed to `@mapping(method, subpath)`. Route paths may incorporate complex patterns, such as:
* - **Parameters:** `'/foo/:id'` (`:id` is captured as `ctx.params.id`, and matches any chars but `/` by default)
* - **Multiple parameters:** `'/:foo/:bar'` (`ctx.params.foo` and `ctx.params.bar` are both available)
* - **Mixed parameters:** `'/foo/bar-:id'` (`:id`, without `bar-`, is captured as `ctx.params.id`)
Expand Down

0 comments on commit 101aed6

Please sign in to comment.