mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 22:30:27 +08:00
added note about routes for camelCased controllers and actions
This commit is contained in:
@ -50,6 +50,9 @@ If controller is located inside a module its action internal route will be `modu
|
||||
|
||||
In case module, controller or action specified isn't found Yii will return "not found" page and HTTP status code 404.
|
||||
|
||||
> Note: If controller name or action name contains camelCased words, internal route will use dashes i.e. for
|
||||
`DateTimeController::actionFastForward` route will be `date-time/fast-forward`.
|
||||
|
||||
### Defaults
|
||||
|
||||
If user isn't specifying any route i.e. using URL like `http://example.com/`, Yii assumes that default route should be
|
||||
|
Reference in New Issue
Block a user