Skip to content

Commit 267ea5f

Browse files
committed
minor #10116 Update http_kernel_httpkernel_class.rst (mkurc1)
This PR was submitted for the 4.1 branch but it was merged into the 4.0 branch instead (closes #10116). Discussion ---------- Update http_kernel_httpkernel_class.rst Remove suffix Action from path to ErrorController. Otherwise it doesn't work. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a6e0890 Update http_kernel_httpkernel_class.rst
2 parents a8473c4 + a6e0890 commit 267ea5f

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 @@ 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)
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