10000 Update dependency_injection.rst · symfony/symfony-docs@8b39f1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b39f1e

Browse files
mkurc1javiereguiluz
authored andcommitted
Update dependency_injection.rst
Remove suffix Action from path to ErrorController. Otherwise it doesn't work. Same problem as #10116.
1 parent 267ea5f commit 8b39f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/dependency_injection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Create a new file to host the dependency injection container configuration::
121121
->setArguments(array('UTF-8'))
122122
;
123123
$containerBuilder->register('listener.exception', HttpKernel\EventListener\ExceptionListener::class)
124-
->setArguments(array('Calendar\Controller\ErrorController::exceptionAction'))
124+
->setArguments(array('Calendar\Controller\ErrorController::exception'))
125125
;
126126
$containerBuilder->register('dispatcher', EventDispatcher\EventDispatcher::class)
127127
->addMethodCall('addSubscriber', array(new Reference('listener.router')))

0 commit comments

Comments
 (0)
0