浏览代码

update doc to be consistent with previous commit

Timothée Barray 14 年之前
父节点
当前提交
ae2a598b52
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Resources/doc/reference/list_field_definition.rst

+ 4 - 4
Resources/doc/reference/list_field_definition.rst

@@ -61,8 +61,8 @@ You can set actions for each items in list by adding in $list, the '_action' fie
 
 
     '_action' => array(
     '_action' => array(
       'actions' => array(
       'actions' => array(
-        '_delete' => array(),
-        '_edit' => array()
+        'delete' => array(),
+        'edit' => array()
       )
       )
     )
     )
 
 
@@ -74,8 +74,8 @@ But you can specify yours by setup 'template' option like :
 
 
     '_action' => array(
     '_action' => array(
       'actions' => array(
       'actions' => array(
-        '_delete' => array('template' => 'MyBundle:MyController:my_partial.html.twig'),
-        '_edit' => array()
+        'delete' => array('template' => 'MyBundle:MyController:my_partial.html.twig'),
+        'edit' => array()
       )
       )
     )
     )