Skip to content

Commit 5dc0f36

Browse files
committed
Fixes thanks to the team
1 parent ef97575 commit 5dc0f36

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

cookbook/controller/error_pages.rst

+10-13
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@ A typical project that returns HTML and JSON pages, might look like this:
7070
.. code-block:: text
7171
7272
app/
73-
─ Resources/
74-
└─ TwigBundle/
75-
└─ views/
76-
└─ Exception/
77-
├─ error404.html.twig
78-
├─ error403.html.twig
79-
├─ error.html.twig # All other HTML errors (including 500)
80-
├─ error404.json.twig
81-
├─ error403.json.twig
82-
├─ error.json.twig # All other JSON errors (including 500)
73+
─ Resources/
74+
└─ TwigBundle/
75+
└─ views/
76+
└─ Exception/
77+
├─ error404.html.twig
78+
├─ error403.html.twig
79+
├─ error.html.twig # All other HTML errors (including 500)
80+
├─ error404.json.twig
81+
├─ error403.json.twig
82+
├─ error.json.twig # All other JSON errors (including 500)
8383
8484
Example 404 Error Template
8585
--------------------------
@@ -145,9 +145,6 @@ is undefined. The solution is to add the following check before using this funct
145145
Testing Error Pages during Development
146146
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147147

148-
Symfony shows the big *exception* page instead of your customized error page
149-
when you're in the development environem
150-
151148
While you're in the development environment, Symfony shows the big *exception*
152149
page instead of your shiny new customized error page. So, how can you see
153150
what it looks like and debug it?

0 commit comments

Comments
 (0)