Permalink
Browse files

Fixing the example link and unlink methods

  • Loading branch information...
1 parent ccae674 commit f32f46b2a8ff12b6eb22b2f5982da44b5b794956 @OwlyCode OwlyCode committed Dec 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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}
}
```

0 comments on commit f32f46b

Please sign in to comment.