فهرست منبع

we should use lower case here

Oskar Stark 10 سال پیش
والد
کامیت
91c50271a4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/doc/cookbook/recipe_custom_action.rst

+ 2 - 2
Resources/doc/cookbook/recipe_custom_action.rst

@@ -180,7 +180,7 @@ Next we have to add the action in ``configureListFields`` specifying the templat
 
             ->add('_action', 'actions', array(
                 'actions' => array(
-                    'Clone' => array(
+                    'clone' => array(
                         'template' => 'AcmeDemoBundle:CRUD:list__action_clone.html.twig'
                     )
                 )
@@ -215,7 +215,7 @@ The full ``CarAdmin.php`` example looks like this:
                 ->add('createdAt')
                 ->add('_action', 'actions', array(
                     'actions' => array(
-                        'Clone' => array(
+                        'clone' => array(
                             'template' => 'AcmeDemoBundle:CRUD:list__action_clone.html.twig'
                         )
                     )