فهرست منبع

[FrameworkBundle] fixed $view['actions']->output() signature to match that of ->render()

Kris Wallsmith 14 سال پیش
والد
کامیت
afa8bfcdd6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.php

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.php

@@ -42,9 +42,9 @@ class ActionsHelper extends Helper
      *
      * @see render()
      */
-    public function output($controller, array $options = array())
+    public function output($controller, array $attributes = array(), array $options = array())
     {
-        echo $this->render($controller, $options);
+        echo $this->render($controller, $attributes, $options);
     }
 
     /**