Forráskód Böngészése

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

Kris Wallsmith 14 éve
szülő
commit
afa8bfcdd6

+ 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);
     }
 
     /**