[FrameworkBundle] Controller::forward() should invoke HttpKernel instead of ControllerResolver
This commit is contained in:
parent
ca8c7907e2
commit
b3d55850df
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user