From cb48bde35d24f78f93e38fe487a0c42fee234ce6 Mon Sep 17 00:00:00 2001 From: Zach Arend Date: Mon, 24 May 2021 09:37:12 -0700 Subject: [PATCH] docs: in toh-pt5, navigate back to home page after going to `/heroes` (#42279) This fixes an issue in part 5 of the Tour of Heroes tutorial on angular.io. At the end of the `Add RouterOutlet` section, the reader navigates to `"/heroes"`. The next section, `Add a navigation link`, instructs the user to click ona link on the dashboard page to navigate to the heroes page. This is problematic because the previous section instructed the reader to navigate to the heroes page, not the dashboard. It assumes, the reader is on the dashboard page. Fixes issue by instructing the reader to navigate back to the dashboard after navigating to `"/heroes"` in the `Add RouterOutlet` section. resolves #41212 PR Close #42279 --- aio/content/tutorial/toh-pt5.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aio/content/tutorial/toh-pt5.md b/aio/content/tutorial/toh-pt5.md index 8723edd815..46bc0034b5 100644 --- a/aio/content/tutorial/toh-pt5.md +++ b/aio/content/tutorial/toh-pt5.md @@ -133,6 +133,9 @@ The route path to `HeroesComponent` is `/heroes`. Append `/heroes` to the URL in the browser address bar. You should see the familiar heroes master/detail view. +Remove `/heroes` from the URL in the browser address bar. +The browser should refresh and display the application title but not the list of heroes. + {@a routerlink} ## Add a navigation link (`routerLink`)