From 615e999fc4862e2b30f3c17a21b728e36b782d46 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 9 Sep 2025 20:32:05 -0700 Subject: [PATCH 1/3] Remove duplicate code in custom-controllers.md Remove duplicate class and method declaration. --- 16/umbraco-cms/reference/routing/custom-controllers.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/16/umbraco-cms/reference/routing/custom-controllers.md b/16/umbraco-cms/reference/routing/custom-controllers.md index 8bbe0c101cc..7ab69af1ce4 100644 --- a/16/umbraco-cms/reference/routing/custom-controllers.md +++ b/16/umbraco-cms/reference/routing/custom-controllers.md @@ -346,14 +346,7 @@ public class RegisterSuperSiteServiceComposer : IUserComposer { public void Compose(IUmbracoBuilder builder) { - public class RegisterSuperSiteServiceComposer : IUserComposer - { - public void Compose(IUmbracoBuilder builder) - { - builder.Services.AddUnique(); - - } - } + builder.Services.AddUnique(); } } ``` From 6d41ee32c4b8f2f1094553beef440f240be21f21 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 9 Sep 2025 21:28:42 -0700 Subject: [PATCH 2/3] Remove forward slash to fix broken link job check Remove forward slash to fix broken link job check --- 16/umbraco-cms/reference/routing/custom-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/16/umbraco-cms/reference/routing/custom-controllers.md b/16/umbraco-cms/reference/routing/custom-controllers.md index 7ab69af1ce4..f0cc82ee2f4 100644 --- a/16/umbraco-cms/reference/routing/custom-controllers.md +++ b/16/umbraco-cms/reference/routing/custom-controllers.md @@ -311,7 +311,7 @@ public class ProductListingPageController : Umbraco.Cms.Web.Common.Controllers.R ## Controller Injection -Injecting services into your controller constructors is possible with Umbraco's underlying dependency injection implementation. See [Services and Helpers](../../implementation/services/#custom-services-and-helpers) for more info on this. +Injecting services into your controller constructors is possible with Umbraco's underlying dependency injection implementation. See [Services and Helpers](../../implementation/services#custom-services-and-helpers) for more info on this. For example: From e396890eaf918376ca0abc685a331488c280e692 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 9 Sep 2025 21:46:38 -0700 Subject: [PATCH 3/3] Provide explicit file reference for fragment link to work correctly Provide explicit file reference for fragment link to work correctly --- 16/umbraco-cms/reference/routing/custom-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/16/umbraco-cms/reference/routing/custom-controllers.md b/16/umbraco-cms/reference/routing/custom-controllers.md index f0cc82ee2f4..f6e65120aad 100644 --- a/16/umbraco-cms/reference/routing/custom-controllers.md +++ b/16/umbraco-cms/reference/routing/custom-controllers.md @@ -311,7 +311,7 @@ public class ProductListingPageController : Umbraco.Cms.Web.Common.Controllers.R ## Controller Injection -Injecting services into your controller constructors is possible with Umbraco's underlying dependency injection implementation. See [Services and Helpers](../../implementation/services#custom-services-and-helpers) for more info on this. +Injecting services into your controller constructors is possible with Umbraco's underlying dependency injection implementation. See [Services and Helpers](../../implementation/services/README.md#custom-services-and-helpers) for more info on this. For example: