diff --git a/mailer.rst b/mailer.rst index 09d22b5b777..9f26c769d82 100644 --- a/mailer.rst +++ b/mailer.rst @@ -229,6 +229,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object:: use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Mailer\MailerInterface; use Symfony\Component\Mime\Email; + use Symfony\Component\Routing\Annotation\Route; class MailerController extends AbstractController {