docs(toh): link to deprecated router

closes #1309
This commit is contained in:
Foxandxss 2016-05-06 14:58:03 +02:00 committed by Ward Bell
parent 9424e9bb28
commit c8bdbd5ea9
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ figure.image-display
We'll add Angulars *Component Router* to our app to satisfy these requirements. We'll add Angulars *Component Router* to our app to satisfy these requirements.
.l-sub-section .l-sub-section
:marked :marked
The [Routing and Navigation](../guide/router.html) chapter covers the router in more detail The [Routing and Navigation](../guide/router-deprecated.html) chapter covers the router in more detail
than we will in this tour. than we will in this tour.
:marked :marked
[Run the live example](/resources/live-examples/toh-5/ts/plnkr.html). [Run the live example](/resources/live-examples/toh-5/ts/plnkr.html).
@ -145,7 +145,7 @@ code-example(format="." language="bash").
.callout.is-important .callout.is-important
header base href is essential header base href is essential
:marked :marked
See the *base href* section of the [Router](../guide/router.html#!#base-href) chapter to learn why this matters. See the *base href* section of the [Router](../guide/router-deprecated.html#!#base-href) chapter to learn why this matters.
:marked :marked
### Make the router available. ### Make the router available.
The *Component Router* is a service. Like any service, we have to import it and make it The *Component Router* is a service. Like any service, we have to import it and make it
@ -185,7 +185,7 @@ code-example(format="." language="bash").
.l-sub-section .l-sub-section
:marked :marked
Learn more about defining routes with @RouteConfig in the [Routing](../guide/router.html) chapter. Learn more about defining routes with @RouteConfig in the [Routing](../guide/router-deprecated.html) chapter.
:marked :marked
### Router Outlet ### Router Outlet
@ -213,7 +213,7 @@ code-example(format="." language="bash").
Looking back at the route configuration, we confirm that `'Heroes'` is the name of the route to the `HeroesComponent`. Looking back at the route configuration, we confirm that `'Heroes'` is the name of the route to the `HeroesComponent`.
.l-sub-section .l-sub-section
:marked :marked
Learn about the *link parameters array* in the [Routing](../guide/router.html#link-parameters-array) chapter. Learn about the *link parameters array* in the [Routing](../guide/router-deprecated.html#link-parameters-array) chapter.
:marked :marked
Refresh the browser. We see only the app title. We don't see the heroes list. Refresh the browser. We see only the app title. We don't see the heroes list.
.l-sub-section .l-sub-section