Skip to content

Commit

Permalink
Merge pull request #1570 from warlock39/issue-1569
Browse files Browse the repository at this point in the history
#1569: Added suffix "Action" for getUsers() method as it is required …
  • Loading branch information
GuilhemN committed Oct 7, 2016
2 parents e39a06d + 2d701df commit f986e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/doc/7-manual-route-definition.rst
Expand Up @@ -82,7 +82,7 @@ Example:
* @Get("/users/foo", name="_foo")
* @Get("/users/bar", name="_bar")
*/
public function getUsers() { /** */ }
public function getUsersAction() { /** */ }
Result:
Expand All @@ -107,7 +107,7 @@ Example:
* @Get("/users/foo", name="get_foo", options={ "method_prefix" = false })
* @Get("/users/bar", name="get_bar", options={ "method_prefix" = false })
*/
public function getUsers() { /** */ }
public function getUsersAction() { /** */ }
Result:
Expand Down

0 comments on commit f986e2e

Please sign in to comment.