소스 검색

[FrameworkBundle] Controller::forward() should invoke HttpKernel instead of ControllerResolver

Jeremy Mikola 14 년 전
부모
커밋
b3d55850df
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

@@ -69,7 +69,7 @@ class Controller extends ContainerAware
      */
     public function forward($controller, array $path = array(), array $query = array())
     {
-        return $this->container->get('controller_resolver')->forward($controller, $path, $query);
+        return $this->container->get('http_kernel')->forward($controller, $path, $query);
     }
 
     /**