diff --git a/lib/core/decorators/routes.js b/lib/core/decorators/routes.js index 94a0f6ea..7b895009 100644 --- a/lib/core/decorators/routes.js +++ b/lib/core/decorators/routes.js @@ -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`)