From 8b8656fe052c74dd35ba0b8ccb3532ba23e60b69 Mon Sep 17 00:00:00 2001 From: pedrumj2 Date: Sat, 29 Sep 2018 11:54:03 -0400 Subject: [PATCH] Resolving some confusion around exception controllers The explanation in the docs only applies to full projects and not the slimmed down version just setup for api calls. --- controller/error_pages.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/controller/error_pages.rst b/controller/error_pages.rst index 0d2537e6e1f..318d62ecfd8 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -303,7 +303,12 @@ In that case, you might want to override one or both of the ``showAction()`` and The :ref:`error page preview ` also works for your own controllers set up this way. + +.. note:: + The above only applies to websites created using symfony/website-skeleton and not symfony/skeleton. See + :doc:`Setup ` for more details. + .. _use-kernel-exception-event: Working with the ``kernel.exception`` Event