diff --git a/security.rst b/security.rst index 9639d7c7e9a..a658f9d5049 100644 --- a/security.rst +++ b/security.rst @@ -1092,6 +1092,7 @@ Authorization (Denying Access) .. toctree:: :maxdepth: 1 + security/expressions security/voters security/securing_services security/access_control diff --git a/security/expressions.rst b/security/expressions.rst index 3c3aa6e0795..e8e17524142 100644 --- a/security/expressions.rst +++ b/security/expressions.rst @@ -1,7 +1,7 @@ .. index:: single: Expressions in the Framework -Security: Complex Access Controls with Expressions +Complex Access Controls with Expressions ================================================== .. seealso:: @@ -14,7 +14,7 @@ accepts an :class:`Symfony\\Component\\ExpressionLanguage\\Expression` object:: // src/Controller/MyController.php namespace App\Controller; - + use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\ExpressionLanguage\Expression; use Symfony\Component\HttpFoundation\Response;