浏览代码

Merge remote-tracking branch 'tyx/master'

Thomas 14 年之前
父节点
当前提交
1a4402a11c
共有 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(
       '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(
       'actions' => array(
-        '_delete' => array('template' => 'MyBundle:MyController:my_partial.html.twig'),
-        '_edit' => array()
+        'delete' => array('template' => 'MyBundle:MyController:my_partial.html.twig'),
+        'edit' => array()
       )
     )