From df0e7fe00b6590a6d30f335a5cccbdb5561de224 Mon Sep 17 00:00:00 2001 From: Damien Flament Date: Wed, 25 Jan 2017 22:18:47 +0100 Subject: [PATCH] render() is a Twig function, not a block Correct a typo which cause a Twig exception because the _render_ block is called but it doesn't exist. --- bundles/create/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/create/introduction.rst b/bundles/create/introduction.rst index 26848967..10c1c398 100644 --- a/bundles/create/introduction.rst +++ b/bundles/create/introduction.rst @@ -368,7 +368,7 @@ higher, the method reads: .. code-block:: jinja - {% render(controller("cmf_create.jsloader.controller:includeJSFilesAction")) %} + {{ render(controller("cmf_create.jsloader.controller:includeJSFilesAction")) }} .. code-block:: php