소스 검색

The ControlerResolver service as been moved in http_kernel

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

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

@@ -42,6 +42,6 @@ class InternalController extends ContainerAware
             $attributes->add($tmp);
         }
 
-        return $this->container->get('controller_resolver')->forward($controller, $attributes->all(), $request->query->all());
+        return $this->container->get('http_kernel')->forward($controller, $attributes->all(), $request->query->all());
     }
 }