Skip to content

Commit

Permalink
Fixes thanks to the team
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed May 23, 2015
1 parent ef97575 commit 5dc0f36
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions cookbook/controller/error_pages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ A typical project that returns HTML and JSON pages, might look like this:
.. code-block:: text
app/
─ Resources/
└─ TwigBundle/
└─ views/
└─ Exception/
├─ error404.html.twig
├─ error403.html.twig
├─ error.html.twig # All other HTML errors (including 500)
├─ error404.json.twig
├─ error403.json.twig
├─ error.json.twig # All other JSON errors (including 500)
─ Resources/
└─ TwigBundle/
└─ views/
└─ Exception/
├─ error404.html.twig
├─ error403.html.twig
├─ error.html.twig # All other HTML errors (including 500)
├─ error404.json.twig
├─ error403.json.twig
├─ error.json.twig # All other JSON errors (including 500)
Example 404 Error Template
--------------------------
Expand Down Expand Up @@ -145,9 +145,6 @@ is undefined. The solution is to add the following check before using this funct
Testing Error Pages during Development
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Symfony shows the big *exception* page instead of your customized error page
when you're in the development environem

While you're in the development environment, Symfony shows the big *exception*
page instead of your shiny new customized error page. So, how can you see
what it looks like and debug it?
Expand Down

0 comments on commit 5dc0f36

Please sign in to comment.