From 0cf98324a85a0a72a8c35a9c0e0a4ceb0ecd7647 Mon Sep 17 00:00:00 2001 From: Kapunahele Wong Date: Tue, 11 Apr 2017 22:14:23 -0400 Subject: [PATCH] docs(toh-pt5): fix capitalization of Router & update screenshot (#3526) --- public/docs/ts/latest/tutorial/toh-pt5.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 8efd8e2b1f..4af761ea60 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -726,8 +726,8 @@ figure.image-display This approach requires the following changes to the component class: - 1. Import the `router` from the Angular router library. - 1. Inject the `router` in the constructor, along with the `HeroService`. + 1. Import the `Router` from the Angular router library. + 1. Inject the `Router` in the constructor, along with the `HeroService`. 1. Implement `gotoDetail()` by calling the router `navigate()` method. +makeExample('toh-5/ts/src/app/heroes.component.ts', 'gotoDetail', 'src/app/heroes.component.ts (gotoDetail)') @@ -837,7 +837,7 @@ figure.image-display Look at the app now. The dashboard, heroes, and navigation links are styled. figure.image-display - img(src='/resources/images/devguide/toh/dashboard-top-heroes.png' alt="View navigations") + img(src='/resources/images/devguide/toh/heroes-dashboard-1.png' alt="View navigations") .l-main-section :marked