Skip to content

Commit b90fa9c

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

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 @@ display. It can take any valid controller as an exception handler, so you can
8282
create an 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)