浏览代码

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());
     }
 }