From bfc5bc9ecd85739af1c7010b2138c4627f5dc595 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 2 Jul 2019 11:30:31 +0200 Subject: [PATCH] Removed a broken link --- controller.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controller.rst b/controller.rst index 3dc412c1139..ae905081eab 100644 --- a/controller.rst +++ b/controller.rst @@ -124,7 +124,7 @@ The Base Controller Classes & Services For convenience, Symfony comes with two optional base :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` and :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController` -classes. You can extend either to get access to a number of `helper methods`_. +classes. You can extend either to get access to a number of helper methods. Add the ``use`` statement atop the ``Controller`` class and then modify ``LuckyController`` to extend it:: @@ -747,5 +747,4 @@ Learn more about Controllers controller/* -.. _`helper methods`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php .. _`unvalidated redirects security vulnerability`: https://www.owasp.org/index.php/Open_redirect