Skip to content

Commit 847db7e

Browse files
mikaelzwouterj
authored andcommitted
Update email.rst
Use `name` defined in the controller.
1 parent 8c4725b commit 847db7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cookbook/email/email.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ template might look something like this:
131131
.. code-block:: html+jinja
132132

133133
{# app/Resources/views/Emails/registration.html.twig #}
134+
Hi {{ name }}
135+
134136
<h3>You did it! You registered!</h3>
135137

136138
{# example, assuming you have a route named "login" #}

0 commit comments

Comments
 (0)