Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 39ac68d

Browse files
rongduan-zhugkalpak
authored andcommitted
docs(guide/component-router): changed path to match diagram
Closes #14277
1 parent 87fb44a commit 39ac68d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/component-router.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ This process continues until we run out of **Routing Components** or consume the
124124

125125
![Routed Components](img/guide/component-routes.svg)
126126

127-
In the previous diagram can see that the URL `/heros/2` has been matched against the `App`, `Heroes` and
127+
In the previous diagram can see that the URL `/heros/4` has been matched against the `App`, `Heroes` and
128128
`HeroDetail` **Routing Components**. The **Routers** for each of the **Routing Components** consumed a part
129-
of the URL: "/", "/heroes" and "/2" respectively.
129+
of the URL: "/", "/heroes" and "/4" respectively.
130130

131131
The result is that we end up with a hierarchy of **Routing Components** rendered in **Outlets**, via the
132132
{@link ngOutlet} directive, in each **Routing Component's** template, as you can see in the following diagram.

0 commit comments

Comments
 (0)