File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ How to Create a Custom Access Denied Handler
5
5
============================================
6
6
7
7
When your application throws an ``AccessDeniedException ``, you can catch this exception
8
- with a service to return a custom Response .
8
+ with a service to return a custom response .
9
9
10
10
On each firewall context you can define a custom access denied handler.
11
11
@@ -44,7 +44,7 @@ Your handler must implement the
44
44
:class: `Symfony\\ Component\\ Security\\ Http\\ Authorization\\ AccessDeniedHandlerInterface `.
45
45
This interface defines one method called ``handle() `` that implements the logic you want
46
46
to execute when access is denied to the current user (send a mail, log a message, or
47
- generally return a custom Response ).
47
+ generally return a custom response ).
48
48
49
49
.. code-block :: php
50
50
You can’t perform that action at this time.
0 commit comments