Skip to content

Commit

Permalink
Updating references to match doc format
Browse files Browse the repository at this point in the history
  • Loading branch information
klaussilveira committed Jan 17, 2014
1 parent 6fd3f93 commit 53f156c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/security.rst
Expand Up @@ -1084,7 +1084,7 @@ authorization from inside a controller::

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

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

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

0 comments on commit 53f156c

Please sign in to comment.