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

Commit 3baea41

Browse files
chalinkwalrath
authored andcommitted
chore(toh-5): refresh cache file (#2208)
No other changes.
1 parent 101d2ef commit 3baea41

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

public/docs/ts/_cache/tutorial/toh-pt5.jade

+5-10
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ block router-config-intro
227227
We'll export a `routing` constant initialized using the `RouterModule.forRoot` method applied to our !{_array} of routes.
228228
This method returns a **configured router module** that we'll add to our root NgModule, `AppModule`.
229229

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

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

482-
.l-sub-section
483-
:marked
484-
Remember to import the hero detail component before creating this route.
485-
486-
+ifDocsFor('ts|js')
487-
:marked
488-
Add the `HeroDetailComponent` to our root NgModule's `declarations`.
489-
490-
+makeExcerpt('app/app.module.ts', 'hero-detail')
482+
+ifDocsFor('dart')
483+
.l-sub-section
484+
:marked
485+
Remember to import the hero detail component before creating this route.
491486

492487
:marked
493488
We're finished with the application routes.

0 commit comments

Comments
 (0)