From 2e40acb0de084d646fd2f28f99f403ab70b561e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kurcewicz?= Date: Wed, 25 Jul 2018 13:56:59 +0200 Subject: [PATCH] Update http_kernel_httpkernel_class.rst Remove suffix Action from path to ErrorController. Otherwise it doesn't work. --- create_framework/http_kernel_httpkernel_class.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_framework/http_kernel_httpkernel_class.rst b/create_framework/http_kernel_httpkernel_class.rst index 59b79bedf48..33c5cd817cc 100644 --- a/create_framework/http_kernel_httpkernel_class.rst +++ b/create_framework/http_kernel_httpkernel_class.rst @@ -82,7 +82,7 @@ display. It can take any valid controller as an exception handler, so you can create an ErrorController class instead of using a Closure:: $listener = new HttpKernel\EventListener\ExceptionListener( - 'Calendar\Controller\ErrorController::exceptionAction' + 'Calendar\Controller\ErrorController::exception' ); $dispatcher->addSubscriber($listener);