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

+1-1
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)