Permalink
Browse files

Fix example's link HTTP method

  • Loading branch information...
kiall committed Aug 22, 2011
1 parent 983bc06 commit cf3c98760d1640da8c57c4fa577923fe1b56db04
Showing with 2 additions and 2 deletions.
  1. +2 −2 guide/modapi/index.md
View
@@ -51,7 +51,7 @@ Something like this:
'delete' => $this->_generate_link('DELETE', '/api/jobs/:id', array(
':id' => 'id',
)),
- 'owner' => $this->_generate_link('DELETE', '/api/user/:id', array(
+ 'owner' => $this->_generate_link('GET', '/api/user/:id', array(
':id' => 'id',
)),
);
@@ -198,7 +198,7 @@ Something like this:
}
},
"owner": {
- "method": "DELETE",
+ "method": "GET",
"url": "\/api\/user\/:id",
"parameters": {
":id": "id"

0 comments on commit cf3c987

Please sign in to comment.