From c524fdf960115acfc043703b4c853826b009c332 Mon Sep 17 00:00:00 2001 From: Mike Bissett Date: Thu, 14 Mar 2013 09:34:37 +1100 Subject: [PATCH] Fixed the ESI render example code to work with symfony 2.1 --- book/http_cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/http_cache.rst b/book/http_cache.rst index 87100ab14c9..579b8e9fb8d 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -885,7 +885,7 @@ matter), Symfony2 uses the standard ``render`` helper to configure ESI tags: .. code-block:: jinja - {% render url('latest_news', { 'max': 5 }), {'standalone': true} %} + {% render url('latest_news', { 'max': 5 }) with {}, {'standalone': true} %} .. code-block:: php