added note about routes for camelCased controllers and actions

This commit is contained in:
Alexander Makarov
2013-08-03 01:23:17 +04:00
parent 3a2215b833
commit 0cde54bc3c

View File

@ -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