Skip to content

Commit fc5296c

Browse files
committed
minor #6264 Update email.rst (mikaelz)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #6264). Discussion ---------- Update email.rst Use `name` defined in the controller. Commits ------- 847db7e Update email.rst
2 parents 8c4725b + 847db7e commit fc5296c

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)