8000 Merge branch '4.2' into 4.3 · symfony/symfony-docs@5c09de4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c09de4

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Update error_pages.rst
2 parents 74bb38a + cb428ba commit 5c09de4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controller/error_pages.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ configuration option to point to it:
213213
214214
# config/packages/twig.yaml
215215
twig:
216-
exception_controller: App\Controller\ExceptionController::showException
216+
exception_controller: App\Controller\ExceptionController::showAction
217217
218218
.. code-block:: xml
219219
@@ -228,7 +228,7 @@ configuration option to point to it:
228228
https://symfony.com/schema/dic/twig/twig-1.0.xsd">
229229
230230
<twig:config>
231-
<twig:exception-controller>App\Controller\ExceptionController::showException</twig:exception-controller>
231+
<twig:exception-controller>App\Controller\ExceptionController::showAction</twig:exception-controller>
232232
</twig:config>
233233
234234
</container>
@@ -237,7 +237,7 @@ configuration option to point to it:
237237
238238
// config/packages/twig.php
239239
$container->loadFromExtension('twig', [
240-
'exception_controller' => 'App\Controller\ExceptionController::showException',
240+
'exception_controller' => 'App\Controller\ExceptionController::showAction',
241241
// ...
242242
]);
243243

0 commit comments

Comments
 (0)
0