Skip to content

Commit e66b990

Browse files
Update route from annotation to attribute
1 parent 156972d commit e66b990

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mailer.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
345345

346346
class MailerController extends AbstractController
347347
{
348-
/**
349-
* @Route("/email")
350-
*/
348+
#[Route('/email')]
351349
public function sendEmail(MailerInterface $mailer): Response
352350
{
353351
$email = (new Email())

0 commit comments

Comments
 (0)