From 7f56d26084bbb3279105cd70d45b1b8a1f7653e4 Mon Sep 17 00:00:00 2001 From: Ahmed TAILOULOUTE Date: Sun, 19 Mar 2017 01:14:22 +0000 Subject: [PATCH] Update esi.rst --- http_cache/esi.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',