From 47d115fa0aa33bbeab23779b11ea055e92aaf3a9 Mon Sep 17 00:00:00 2001 From: Farhad Safarov Date: Tue, 20 Sep 2016 12:47:43 +0300 Subject: [PATCH] Update voters.rst --- security/voters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/voters.rst b/security/voters.rst index 153fc4a89a2..8360b8aa342 100644 --- a/security/voters.rst +++ b/security/voters.rst @@ -204,7 +204,7 @@ How to Use the Voter in a Controller The registered voter will then always be asked as soon as the method ``isGranted()`` from the authorization checker is called. When extending the base ``Controller`` class, you can simply call the -:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::denyAccessUnlessGranted()` +:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::denyAccessUnlessGranted` method:: // src/AppBundle/Controller/PostController.php