diff --git a/book/http_cache.rst b/book/http_cache.rst index 1f0dbf45dc1..53943266ac7 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -915,7 +915,7 @@ matter), Symfony2 uses the standard ``render`` helper to configure ESI tags: .. code-block:: html+php render( - new ControllerReference('...:news', array('max' => 5)), + new \Symfony\Component\HttpKernel\Controller\ControllerReference('...:news', array('max' => 5)), array('strategy' => 'esi')) ?> diff --git a/book/templating.rst b/book/templating.rst index fa274079893..babfe94881b 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -658,7 +658,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):