diff --git a/templates.rst b/templates.rst
index 8a78b8d07ff..1316e19ce40 100644
--- a/templates.rst
+++ b/templates.rst
@@ -477,8 +477,9 @@ definition. Use the special ``TemplateController`` provided by Symfony:
sharedAge: 86400
# optionally you can define some arguments passed to the template
- site_name: 'ACME'
- theme: 'dark'
+ context:
+ site_name: 'ACME'
+ theme: 'dark'
.. code-block:: xml
@@ -499,8 +500,10 @@ definition. Use the special ``TemplateController`` provided by Symfony:
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: