Permalink
Browse files

Merge pull request #338 from cordoval/patch-8

Update Resources/doc/5-automatic-route-generation_single-restful-control...
  • Loading branch information...
2 parents 6002879 + 26fdecc commit 8c1540d262864727f8e14f6385316f54774a62fb @lsmith77 lsmith77 committed Dec 6, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Resources/doc/5-automatic-route-generation_single-restful-controller.md
@@ -31,8 +31,9 @@ users:
This will tell Symfony2 to automatically generate proper REST routes from your ``UsersController`` action names.
Notice ``type: rest`` option. It's required so that the RestBundle can find which routes are supported.
-Notice ``name_prefix: my_bundle_`` option. It's useful to prefix the generated controller routes. Take care that
-you can use ``name_prefix`` on an import only when the file is imported itself with the type ``rest``.
+Notice ``name_prefix: <my_bundle_>`` option. It's useful to prefix the generated controller routes to organize
+your several resources paths. Take care that you can use ``name_prefix`` on an import only when the file is
+imported itself with the type ``rest``. You can also set a parent and a regular prefix as well as any other route.
## Define resource actions

0 comments on commit 8c1540d

Please sign in to comment.