From a0be4c19ff06be28bde64cb10560a0dd63fe8a14 Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Mon, 12 May 2025 18:20:42 +0200 Subject: [PATCH] docs: fix Routed components example (#61278) fixes #61277 PR Close #61278 --- adev/src/content/guide/testing/components-scenarios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adev/src/content/guide/testing/components-scenarios.md b/adev/src/content/guide/testing/components-scenarios.md index 6e27446d838..e9c5383e091 100644 --- a/adev/src/content/guide/testing/components-scenarios.md +++ b/adev/src/content/guide/testing/components-scenarios.md @@ -576,7 +576,7 @@ It creates an `ActivatedRoute` object with the routing information and injects i Here are the services injected into `HeroDetailComponent`: - + The `HeroDetail` component needs the `id` parameter so it can fetch the corresponding hero using the `HeroDetailService`. The component has to get the `id` from the `ActivatedRoute.paramMap` property which is an `Observable`.