Browse Source

added note about routes for camelCased controllers and actions

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
0cde54bc3c
  1. 3
      docs/guide/controller.md

3
docs/guide/controller.md

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

Loading…
Cancel
Save