File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,16 @@ A typical project that returns HTML and JSON pages, might look like this:
70
70
.. code-block :: text
71
71
72
72
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)
83
83
84
84
Example 404 Error Template
85
85
--------------------------
@@ -145,9 +145,6 @@ is undefined. The solution is to add the following check before using this funct
145
145
Testing Error Pages during Development
146
146
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147
147
148
- Symfony shows the big *exception * page instead of your customized error page
149
- when you're in the development environem
150
-
151
148
While you're in the development environment, Symfony shows the big *exception *
152
149
page instead of your shiny new customized error page. So, how can you see
153
150
what it looks like and debug it?
You can’t perform that action at this time.
0 commit comments