From 03d57124a189edcd13b75ee5bd1499e46a2c7d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kurcewicz?= Date: Wed, 25 Jul 2018 19:19:19 +0200 Subject: [PATCH] Update dependency_injection.rst Remove suffix Action from path to ErrorController. Otherwise it doesn't work. Same problem as #10116. --- create_framework/dependency_injection.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_framework/dependency_injection.rst b/create_framework/dependency_injection.rst index b2b028f5ca2..0b2a16d226e 100644 --- a/create_framework/dependency_injection.rst +++ b/create_framework/dependency_injection.rst @@ -121,7 +121,7 @@ Create a new file to host the dependency injection container configuration:: ->setArguments(array('UTF-8')) ; $containerBuilder->register('listener.exception', HttpKernel\EventListener\ExceptionListener::class) - ->setArguments(array('Calendar\Controller\ErrorController::exceptionAction')) + ->setArguments(array('Calendar\Controller\ErrorController::exception')) ; $containerBuilder->register('dispatcher', EventDispatcher\EventDispatcher::class) ->addMethodCall('addSubscriber', array(new Reference('listener.router'))) 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