diff --git a/best_practices/security.rst b/best_practices/security.rst index dcc9497e33c..af004171334 100644 --- a/best_practices/security.rst +++ b/best_practices/security.rst @@ -330,7 +330,7 @@ the same ``getAuthorEmail()`` logic you used above: If you're using the :ref:`default services.yml configuration `, your application will :ref:`autoconfigure ` your security -voter and inject a ``AccessDecisionManagerInterface`` instance in it thanks to +voter and inject an ``AccessDecisionManagerInterface`` instance into it thanks to :doc:`autowiring `. Now, you can use the voter with the ``@Security`` annotation: