diff --git a/http_cache/esi.rst b/http_cache/esi.rst index 5d881be67a2..a92cb0e86b7 100644 --- a/http_cache/esi.rst +++ b/http_cache/esi.rst @@ -137,9 +137,10 @@ matter), Symfony uses the standard ``render`` helper to configure ESI tags: .. code-block:: html+php - + render( new ControllerReference( 'AppBundle:News:latest', @@ -148,8 +149,10 @@ matter), Symfony uses the standard ``render`` helper to configure ESI tags: array('strategy' => 'esi') ) ?> + render( $view['router']->generate( 'latest_news',