File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
55============================================
66
77When 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 .
99
1010On each firewall context you can define a custom access denied handler.
1111
@@ -44,7 +44,7 @@ Your handler must implement the
4444:class: `Symfony\\ Component\\ Security\\ Http\\ Authorization\\ AccessDeniedHandlerInterface `.
4545This interface defines one method called ``handle() `` that implements the logic you want
4646to 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 ).
4848
4949.. code-block :: php
5050
You can’t perform that action at this time.
0 commit comments