Skip to content

Commit da6002d

Browse files
committed
Wrapping line
1 parent b1b9090 commit da6002d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/security.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,8 @@ authorization from inside a controller::
10871087
.. versionadded:: 2.5
10881088
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
10891089

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

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

0 commit comments

Comments
 (0)