Skip to content

Commit

Permalink
Changing docs in CakeRequest:accepts() as they were misleading, you a…
Browse files Browse the repository at this point in the history
…re required to pass a correct mimetype and not an alias
  • Loading branch information
lorenzo committed Jun 26, 2012
1 parent 93123a8 commit 476209d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/CakeRequest.php
Expand Up @@ -656,7 +656,7 @@ public function subdomains($tldLength = 1) {
*
* #### Check for a single type:
*
* `$this->request->accepts('json');`
* `$this->request->accepts('application/json');`
*
* This method will order the returned content types by the preference values indicated
* by the client.
Expand Down

0 comments on commit 476209d

Please sign in to comment.