From 6a967717cd790914a3b6646d617fb120ca1f93b0 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mohamed Date: Sun, 17 Mar 2024 12:52:29 +0200 Subject: [PATCH 1/5] Update custom-controllers.md --- 13/umbraco-cms/reference/routing/custom-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/routing/custom-controllers.md b/13/umbraco-cms/reference/routing/custom-controllers.md index 053721de4c1..b570996c33d 100644 --- a/13/umbraco-cms/reference/routing/custom-controllers.md +++ b/13/umbraco-cms/reference/routing/custom-controllers.md @@ -21,7 +21,7 @@ For example: * To implement any custom/granular security * To return alternative templates depending on some custom business logic -This replacement of the default controller can either be made 'globally' for all requests (see last example) or by _'hijacking'_ requests for types of pages based on their specific Document Type following a this controller naming convention: `[DocumentTypeAlias]Controller`. +This replacement of the default controller can either be made 'globally' for all requests (see last example) or by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. ## Creating a custom controller From bddec1a99541b359a812ccb0ab674aeb8198588f Mon Sep 17 00:00:00 2001 From: Abdelrahman Mohamed Date: Mon, 18 Mar 2024 16:21:04 +0200 Subject: [PATCH 2/5] Update custom-controllers.md --- 13/umbraco-cms/reference/routing/custom-controllers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/routing/custom-controllers.md b/13/umbraco-cms/reference/routing/custom-controllers.md index b570996c33d..7642d1e2f84 100644 --- a/13/umbraco-cms/reference/routing/custom-controllers.md +++ b/13/umbraco-cms/reference/routing/custom-controllers.md @@ -21,7 +21,8 @@ For example: * To implement any custom/granular security * To return alternative templates depending on some custom business logic -This replacement of the default controller can either be made 'globally' for all requests (see last example) or by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. +This replacement of the default controller can either be made 'globally' for all requests (see last example) or +by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. ## Creating a custom controller From 361dbca80ad67f60c3a6f55da4a0c20db4dfb824 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mohamed Date: Mon, 18 Mar 2024 16:22:31 +0200 Subject: [PATCH 3/5] Update custom-controllers.md --- 13/umbraco-cms/reference/routing/custom-controllers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/13/umbraco-cms/reference/routing/custom-controllers.md b/13/umbraco-cms/reference/routing/custom-controllers.md index 7642d1e2f84..9b4c1a93797 100644 --- a/13/umbraco-cms/reference/routing/custom-controllers.md +++ b/13/umbraco-cms/reference/routing/custom-controllers.md @@ -21,8 +21,8 @@ For example: * To implement any custom/granular security * To return alternative templates depending on some custom business logic -This replacement of the default controller can either be made 'globally' for all requests (see last example) or -by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. +This replacement of the default controller can either be made 'globally' for all requests (see last example) +It can be also by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. ## Creating a custom controller From 9e4016a9258373805e35de83134de69ae1e77b96 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mohamed Date: Mon, 18 Mar 2024 16:26:02 +0200 Subject: [PATCH 4/5] Update custom-controllers.md --- 13/umbraco-cms/reference/routing/custom-controllers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/13/umbraco-cms/reference/routing/custom-controllers.md b/13/umbraco-cms/reference/routing/custom-controllers.md index 9b4c1a93797..00a5ca60efb 100644 --- a/13/umbraco-cms/reference/routing/custom-controllers.md +++ b/13/umbraco-cms/reference/routing/custom-controllers.md @@ -21,8 +21,7 @@ For example: * To implement any custom/granular security * To return alternative templates depending on some custom business logic -This replacement of the default controller can either be made 'globally' for all requests (see last example) -It can be also by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. +This replacement of the default controller can either be made 'globally' for all requests (see last example). It can be also by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. ## Creating a custom controller From eed2d284660cf846cefcac1e99ec06600beb89f2 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mohamed Date: Mon, 18 Mar 2024 16:32:16 +0200 Subject: [PATCH 5/5] Update custom-controllers.md --- 13/umbraco-cms/reference/routing/custom-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/routing/custom-controllers.md b/13/umbraco-cms/reference/routing/custom-controllers.md index 00a5ca60efb..219dcefa151 100644 --- a/13/umbraco-cms/reference/routing/custom-controllers.md +++ b/13/umbraco-cms/reference/routing/custom-controllers.md @@ -21,7 +21,7 @@ For example: * To implement any custom/granular security * To return alternative templates depending on some custom business logic -This replacement of the default controller can either be made 'globally' for all requests (see last example). It can be also by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. +This replacement of the default controller can either be made 'globally' for all requests (see last example). It can also be by _'hijacking'_ requests for types of pages based on their specific Document Type following this controller naming convention: `[DocumentTypeAlias]Controller`. ## Creating a custom controller