Author: fabien
Date: 2010-03-02 19:09:51 +0100 (Tue, 02 Mar 2010)
New Revision: 28349
Modified:
doc/branches/1.4/reference/en/10-Routing.markdown
Log:
[doc] [1.4] fixed description of some settings and added an example (closes
#8305)
Modified: doc/branches/1.4/reference/en/10-Routing.markdown
===================================================================
--- doc/branches/1.4/reference/en/10-Routing.markdown 2010-03-02 18:03:26 UTC
(rev 28348)
+++ doc/branches/1.4/reference/en/10-Routing.markdown 2010-03-02 18:09:51 UTC
(rev 28349)
@@ -353,15 +353,29 @@
*Default*: An empty array
The `collection_actions` options defines an array of additional actions
-available for the collection routes.
+available for the collection routes. The keys are the action names and the
+values are the valid methods for that action:
+ [yml]
+ articles:
+ options:
+ collection_actions: { filter: post }
+ # ...
+
### ~`object_actions`~
*Default*: An empty array
-The `object_actions` options defines an array of additional actions available
-for the object routes.
+The `object_actions` options defines an associative array of additional
+actions available for the object routes. The keys are the action names and the
+values are the valid methods for that action:
+ [yml]
+ articles:
+ options:
+ object_actions: { publish: put }
+ # ...
+
~`sfPropelRouteCollection`~
---------------------------
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.