Skip to content

Commit 7db9d2e

Browse files
committed
minor #12040 Update Doc : Symfony 4.3 - Swift Mailer (TheGarious)
This PR was merged into the 4.3 branch. Discussion ---------- Update Doc : Symfony 4.3 - Swift Mailer Review Example, erase HelloBundle architecture by templates architecture. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- f8d783b Update Doc : Symfony 4.3 - Swift Mailer
2 parents 99b0672 + f8d783b commit 7db9d2e

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)