Commit 0cde54bc by Alexander Makarov

added note about routes for camelCased controllers and actions

parent 3a2215b8
...@@ -50,6 +50,9 @@ If controller is located inside a module its action internal route will be `modu ...@@ -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. 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 ### Defaults
If user isn't specifying any route i.e. using URL like `http://example.com/`, Yii assumes that default route should be If user isn't specifying any route i.e. using URL like `http://example.com/`, Yii assumes that default route should be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment