Bonjour,
Je rencontre un petit problème avec mon code.
Décrivez votre code ou ce que vous cherchez à faire.
<a href="{{ path('forgotten_password') }}">Mot de passe oublié ?</a></p>
Mon controller :
 /**
     * @Route("/managePassword/OubliPass", name="forgotten_password", methods={"GET","POST"})
     * 
     */
    public function OubliPass(
        Request $request,
        UserRepository $users,
        \Swift_Mailer $mailer,
        TokenGeneratorInterface $tokenGenerator
    ): Response {...}
Quand je fais : php bin/console debug:router
il est bien présent
forgotten_password                     GET|POST   ANY      ANY    /managePassword/OubliPassJe veux acceder a ma page
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "forgotten_password" as such route does not exist.").