Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
fix(docs): Fix routing docs now @RouteBase is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jul 6, 2016
1 parent f35e00c commit 69199e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guide/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ collectionSort: 1
layout: guide.hbs
---

Routing is defined in the backend controllers using the `@Route` and `@RouteBase` decorators.
Routing is defined in the backend controllers using the `@Route` decorator.

In the following controller example, the route base is set to `example` and the method action is set to `/test`.

```
@Injectable()
@RouteBase('example')
@Controller({
routeBase: 'example',
})
export class TestController extends AbstractController {
constructor(server: Server, logger: Logger) {
Expand Down

0 comments on commit 69199e1

Please sign in to comment.