diff --git a/docs/guide/runtime-routing.md b/docs/guide/runtime-routing.md index ab5e3de8be..7c23088b5d 100644 --- a/docs/guide/runtime-routing.md +++ b/docs/guide/runtime-routing.md @@ -106,7 +106,7 @@ in the application configuration like the following: ``` Similar to the default route of the application, there is also a default route for modules, so for example if there -is a `user` module and the request is parsed into the route `user` the modules [[yii\base\Module::defaultRoute|defaultRoute]] +is a `user` module and the request is parsed into the route `user` the module's [[yii\base\Module::defaultRoute|defaultRoute]] is used to determine the controller. By default the controller name is `default`. If no action is specified in [[yii\base\Module::defaultRoute|defaultRoute]], the [[yii\base\Controller::defaultAction|defaultAction]] property of the controller is used to determine the action. In this example, the full route would be `user/default/index`.