Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Correct sample reference for milestone #2 #1817

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions public/docs/ts/latest/guide/router.jade
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ h3#merge-hero-routes Merge hero routes into application routes
We'll need to merge them into the application routes we defined in `app.routes.ts`.

Update `app.routes.ts` as follows:
+makeExample('router/ts/app/app.routes.3.ts', '', 'app/app.routes.ts (v.2)')(format=".")
+makeExample('router/ts/app/app.routes.2.ts', '', 'app/app.routes.ts (v.2)')(format=".")
:marked
We replace the `HeroListComponent` import with an `HeroesRoutes` import.

Expand Down Expand Up @@ -796,8 +796,8 @@ h3#nav-to-list Navigating back to the list component
### The Heroes App code
Here are the relevant files for this version of the sample application.
+makeTabs(
`router/ts/app/app.component.1.ts,
router/ts/app/app.routes.3.ts,
`router/ts/app/app.component.2.ts,
router/ts/app/app.routes.2.ts,
router/ts/app/heroes/hero-list.component.1.ts,
router/ts/app/heroes/hero-detail.component.1.ts,
router/ts/app/heroes/hero.service.ts,
Expand Down