docs(router): add missing backticks (#2366)

This commit is contained in:
Sarun Intaralawan 2016-09-18 04:56:55 +07:00 committed by Jesús Rodríguez
parent 5bd269484a
commit c6cf4dc310
1 changed files with 4 additions and 4 deletions

View File

@ -1365,13 +1365,13 @@ a#child-routing-component
They *extend* the path of the parent route.
With each step down the route tree, we add a slash followed by the route path (unless the route path is _empty_).
For example, the parent path to the `CrisisCenterComponent` is `/crisis-center
The router appends these child paths to the parent path to the `CrisisCenterComponent` (`/crisis-center).
For example, the parent path to the `CrisisCenterComponent` is `/crisis-center`
The router appends these child paths to the parent path to the `CrisisCenterComponent` (`/crisis-center`).
* to navigate to the `CrisisCenterHomeComponent, the full URL is `/crisis-center` (/crisis-center` + `''` + `''`).
* to navigate to the `CrisisCenterHomeComponent`, the full URL is `/crisis-center` (`/crisis-center` + `''` + `''`).
* to navigate to the `CrisisDetailComponent` for a crisis with `id=2`, the full URL is
`/crisis-center/2` (/crisis-center` + `''` + `'/2'`).
`/crisis-center/2` (`/crisis-center` + `''` + `'/2'`).
The absolute URL for the latter example, including the origin, is
code-example.