diff --git a/templates.rst b/templates.rst
index e31c6539d89..a843db21c03 100644
--- a/templates.rst
+++ b/templates.rst
@@ -458,7 +458,8 @@ Rendering a Template Directly from a Route
Although templates are usually rendered in controllers and services, you can
render static pages that don't need any variables directly from the route
-definition. Use the special ``TemplateController`` provided by Symfony:
+definition. Use the special :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController`
+provided by Symfony:
.. configuration-block::
@@ -476,10 +477,6 @@ definition. Use the special ``TemplateController`` provided by Symfony:
maxAge: 86400
sharedAge: 86400
- # optionally you can define some arguments passed to the template
- site_name: 'ACME'
- theme: 'dark'
-
.. code-block:: xml
@@ -497,10 +494,6 @@ 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: