Skip to content

Commit f8d783b

Browse files
authored
Update Doc : Symfony 4.3 - Swift Mailer
Review Example, erase HelloBundle architecture by templates architecture.
1 parent 99b0672 commit f8d783b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

email.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ Now, suppose you're sending an email to ``recipient@example.com`` in a controlle
260260
->setTo('recipient@example.com')
261261
->setBody(
262262
$this->renderView(
263-
'HelloBundle:Hello:email.txt.twig',
263+
// templates/hello/email.txt.twig
264+
'hello/email.txt.twig',
264265
['name' => $name]
265266
)
266267
)

0 commit comments

Comments
 (0)