Skip to content

Commit 2c025f7

Browse files
authored
Update 3. Demonstrate ability to customize request routing.md
1 parent e52ca32 commit 2c025f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2. Request Flow Processing/3. Demonstrate ability to customize request routing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ reference route by ID and add own module "before" original module.
5252

5353
1. If all routers didn't match, default controller provides two opportunities:
5454
- set default 404 route in admin config `web/default/no_route` (see: [\Magento\Framework\App\Router\NoRouteHandler::process](https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Router/NoRouteHandler.php#L34))
55-
- register custom handler in [noRouteHandlerList](https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Router/NoRouteHandlerList.php)
55+
- register custom handler in [noRouteHandlerList](https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Router/NoRouteHandlerList.php):
5656
* backend (sortOrder: 10) [Magento\Backend\App\Router\NoRouteHandler](https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Backend/App/Router/NoRouteHandler.php#L44) -> `adminhtml/noroute/index`
57-
* default (sortOrder: 100) [Magento\Framework\App\Router\NoRouteHandler]((https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Router/NoRouteHandler.php)
57+
* default (sortOrder: 100) [Magento\Framework\App\Router\NoRouteHandler](https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Router/NoRouteHandler.php)

0 commit comments

Comments
 (0)