Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f59ba5d

Browse files
authored
Update mailer.rst
Swap key and value in twig path config
1 parent 8458f40 commit f59ba5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ image files as usual. First, to simplify things, define a Twig namespace called
376376
377377
paths:
378378
# point this wherever your images live
379-
images: '%kernel.project_dir%/assets/images'
379+
'%kernel.project_dir%/assets/images': images
380380
381381
Now, use the special ``email.image()`` Twig helper to embed the images inside
382382
the email contents:

0 commit comments

Comments
 (0)