correct the option key

documentation fix
'statusCodes' instead of 'codes'
This commit is contained in:
Matthew Ouyang 2014-01-16 00:09:21 -05:00
parent 84eb46dbdc
commit 0536e058f9

View file

@ -379,7 +379,7 @@ class CakeResponse {
*
* @param array $options list of parameters to setup the response. Possible values are:
* - body: the response text that should be sent to the client
* - codes: additional allowable response codes
* - statusCodes: additional allowable response codes
* - status: the HTTP status code to respond with
* - type: a complete mime-type string or an extension mapped in this class
* - charset: the charset for the response body