From 6ff9e1a5c1516c1aa85fb1a873885d5664855e58 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Sat, 3 Sep 2016 13:46:27 -0700 Subject: [PATCH] docs(toh-6): missing create instruction (#2264) fixes #2231 also addresses `

` issue raised in PR #2256 --- public/docs/ts/latest/tutorial/toh-pt5.jade | 2 ++ public/docs/ts/latest/tutorial/toh-pt6.jade | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index c845938fff..2bab094724 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -665,6 +665,8 @@ block extract-id +makeExample('toh-4/ts/app/app.component.ts','template', 'app/heroes.component.ts (current template)')(format=".") :marked + Delete the `

` at the top (forgot about it during the `AppComponent`-to-`HeroesComponent` conversion). + Delete the last line of the template with the `` tags. We'll no longer show the full `HeroDetailComponent` here. diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index 8f17d79380..59a64aded2 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -294,7 +294,11 @@ block get-heroes-details When the given name is non-blank, the handler delegates creation of the named hero to the hero service, and then adds the new hero to our !{_array}. - Go ahead, refresh the browser and create some new heroes! + Finally, we implement the `create` method in the `HeroService` class. ++makeExcerpt('app/hero.service.ts', 'create') + +:marked + Refresh the browser and create some new heroes! .l-main-section :marked