Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #338 from cordoval/patch-8

Update Resources/doc/5-automatic-route-generation_single-restful-control...
  • Loading branch information...
commit 8c1540d262864727f8e14f6385316f54774a62fb 2 parents 6002879 + 26fdecc
@lsmith77 lsmith77 authored
View
5 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.
Something went wrong with that request. Please try again.