Router
In processing the request, the system first searches for a site that is bound to the current domain, and then tries to get the locale and the page number for pagination.
After this link is sought in the table of predefined urls of selected site.
If nothing is found, tries to find a page with a current url.
If there are no results, the link is considered to be routed to the module.
Order of recognition of routes
Possible route | Full route |
---|---|
module | module/index |
module/submodule | module/submodule/index |
module/action | module/action |
module/value | module/view/value |
module/submodule/action | module/submodule/action |
module/action/value | module/action/value |
module/submodule/action/value | module/submodule/action/value |