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

Commit 2d27097

Browse files
Christopher Thornewardbell
Christopher Thorne
authored andcommitted
docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
1 parent 3d868da commit 2d27097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ code-example(format="." language="bash").
218218
In the following section we will update our components to use our new methods to add, edit and delete heroes.
219219

220220
### Add/Edit in the *HeroDetailComponent*
221-
We already have `HeroDetailComponent` for viewing details about a specific hero. Add and Edit are natural extensions of the detail view, so we are able to reuse `DetailHeroComponent` with a few tweaks. The original component was created to render existing data, but to add new data we have to initialize the `hero` property to an empty `Hero` object.
221+
We already have `HeroDetailComponent` for viewing details about a specific hero. Add and Edit are natural extensions of the detail view, so we are able to reuse `HeroDetailComponent` with a few tweaks. The original component was created to render existing data, but to add new data we have to initialize the `hero` property to an empty `Hero` object.
222222

223223
+makeExample('toh-6/ts/app/hero-detail.component.ts', 'ngOnInit', 'app/hero-detail.component.ts (ngOnInit)')(format=".")
224224

0 commit comments

Comments
 (0)