Skip to content

Commit a6e0890

Browse files
mkurc1javiereguiluz
authored andcommitted
Update http_kernel_httpkernel_class.rst
Remove suffix Action from path to ErrorController. Otherwise it doesn't work.
1 parent a8473c4 commit a6e0890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/http_kernel_httpkernel_class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ can take any valid controller as an exception handler, so you can create an
8282
ErrorController class instead of using a Closure::
8383

8484
$listener = new HttpKernel\EventListener\ExceptionListener(
85-
'Calendar\Controller\ErrorController::exceptionAction'
85+
'Calendar\Controller\ErrorController::exception'
8686
);
8787
$dispatcher->addSubscriber($listener);
8888

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy