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

Commit 6ff9e1a

Browse files
authored
docs(toh-6): missing create instruction (#2264)
fixes #2231 also addresses `<h1>` issue raised in PR #2256
1 parent 38bef16 commit 6ff9e1a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,8 @@ block extract-id
665665
+makeExample('toh-4/ts/app/app.component.ts','template', 'app/heroes.component.ts (current template)')(format=".")
666666

667667
:marked
668+
Delete the `<h1>` at the top (forgot about it during the `AppComponent`-to-`HeroesComponent` conversion).
669+
668670
Delete the last line of the template with the `<my-hero-detail>` tags.
669671

670672
We'll no longer show the full `HeroDetailComponent` here.

public/docs/ts/latest/tutorial/toh-pt6.jade

+5-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,11 @@ block get-heroes-details
294294
When the given name is non-blank, the handler delegates creation of the
295295
named hero to the hero service, and then adds the new hero to our !{_array}.
296296

297-
Go ahead, refresh the browser and create some new heroes!
297+
Finally, we implement the `create` method in the `HeroService` class.
298+
+makeExcerpt('app/hero.service.ts', 'create')
299+
300+
:marked
301+
Refresh the browser and create some new heroes!
298302

299303
.l-main-section
300304
:marked

0 commit comments

Comments
 (0)