From f59ba5d4606a5d3c811625caf60aa0da332a254c Mon Sep 17 00:00:00 2001 From: Andy Palmer Date: Thu, 6 Jun 2019 13:23:47 +0100 Subject: [PATCH] Update mailer.rst Swap key and value in twig path config --- mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index cb7f92fea3c..78ae437e7d2 100644 --- a/mailer.rst +++ b/mailer.rst @@ -376,7 +376,7 @@ image files as usual. First, to simplify things, define a Twig namespace called paths: # point this wherever your images live - images: '%kernel.project_dir%/assets/images' + '%kernel.project_dir%/assets/images': images Now, use the special ``email.image()`` Twig helper to embed the images inside the email contents: