Skip to content

Commit 5a64d4f

Browse files
committed
minor #11542 Fix small typo in mime doc example (King2500)
This PR was merged into the master branch. Discussion ---------- Fix small typo in mime doc example I think it's a typo here and it should be `$templateLoader`. *see changes* Commits ------- 9590a37 Fix small typo in mime doc example
2 parents 9ae28e1 + 9590a37 commit 5a64d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ simplify things later::
398398
// ...
399399

400400
$templateLoader = new FilesystemLoader(__DIR__.'/templates');
401-
$templatedLoader->addPath(__DIR__.'/images', 'images');
401+
$templateLoader->addPath(__DIR__.'/images', 'images');
402402
$twig = new Environment($templateLoader);
403403

404404
Now, use the special ``email.image()`` Twig helper to embed the images inside

0 commit comments

Comments
 (0)