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

chore(toh-5): refresh cache file #2208

Merged
merged 1 commit into from
Aug 26, 2016
Merged
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
15 changes: 5 additions & 10 deletions public/docs/ts/_cache/tutorial/toh-pt5.jade
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ block router-config-intro
We'll export a `routing` constant initialized using the `RouterModule.forRoot` method applied to our !{_array} of routes.
This method returns a **configured router module** that we'll add to our root NgModule, `AppModule`.

+makeExcerpt('app/app.routing.ts (excerpt)', 'routing')
+makeExcerpt('app/app.routing.1.ts (excerpt)', 'routing-export')

.l-sub-section
:marked
Expand Down Expand Up @@ -479,15 +479,10 @@ code-example(format='').
The colon (:) in the path indicates that `:id` is a placeholder to be filled with a specific hero `id`
when navigating to the `HeroDetailComponent`.

.l-sub-section
:marked
Remember to import the hero detail component before creating this route.

+ifDocsFor('ts|js')
:marked
Add the `HeroDetailComponent` to our root NgModule's `declarations`.

+makeExcerpt('app/app.module.ts', 'hero-detail')
+ifDocsFor('dart')
.l-sub-section
:marked
Remember to import the hero detail component before creating this route.

:marked
We're finished with the application routes.
Expand Down