Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing the example link and unlink methods

  • Loading branch information...
commit f32f46b2a8ff12b6eb22b2f5982da44b5b794956 1 parent ccae674
@OwlyCode OwlyCode authored
View
4 Resources/doc/5-automatic-route-generation_single-restful-controller.md
@@ -107,10 +107,10 @@ class UsersController
{} // "delete_user_comment" [DELETE] /users/{slug}/comments/{id}
public function linkUserAction($slug)
- {} // "link_user_friend" [LINK] /users/{slug}/friend
+ {} // "link_user_friend" [LINK] /users/{slug}
public function unlinkUserAction($slug)
- {} // "link_user_friend" [UNLINK] /users/{slug}/friend
+ {} // "link_user_friend" [UNLINK] /users/{slug}
}
```
Please sign in to comment.
Something went wrong with that request. Please try again.