소스 검색

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

Kris Wallsmith 15 년 전
부모
커밋
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);
     }
 
     /**