Skip to content

Commit 53f156c

Browse files
committed
Updating references to match doc format
1 parent 6fd3f93 commit 53f156c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/security.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ authorization from inside a controller::
10841084

10851085
.. _book-security-securing-controller-annotations:
10861086

1087-
The ``createAccessDeniedException()`` method creates a special ``AccessDeniedException``
1087+
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()` method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
10881088
object, which ultimately triggers a 403 HTTP response inside Symfony.
10891089

10901090
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::

0 commit comments

Comments
 (0)