mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +08:00
docs/guide/runtime-routing.md typo fixed [ci skip]
This commit is contained in:
@ -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`.
|
||||
|
Reference in New Issue
Block a user