From f8d783be22f048daabebbc85ea32d3292a21c795 Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 26 Jul 2019 15:49:37 +0200 Subject: [PATCH] Update Doc : Symfony 4.3 - Swift Mailer Review Example, erase HelloBundle architecture by templates architecture. --- email.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/email.rst b/email.rst index c49f7826df1..a4c9a3a464f 100644 --- a/email.rst +++ b/email.rst @@ -260,7 +260,8 @@ Now, suppose you're sending an email to ``recipient@example.com`` in a controlle ->setTo('recipient@example.com') ->setBody( $this->renderView( - 'HelloBundle:Hello:email.txt.twig', + // templates/hello/email.txt.twig + 'hello/email.txt.twig', ['name' => $name] ) )