Skip to content

Commit c7d1266

Browse files
committed
few tweaks to the error pages article
1 parent 746eee5 commit c7d1266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/controller/error_pages.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ is used to render a Twig template to show the user.
4646

4747
.. _cookbook-error-pages-by-status-code:
4848

49-
This controller uses the HTTP status code, request format and the following
49+
This controller uses the HTTP status code, the request format and the following
5050
logic to determine the template filename:
5151

5252
#. Look for a template for the given format and status code (like ``error404.json.twig``
@@ -79,7 +79,7 @@ A typical project that returns HTML and JSON pages, might look like this:
7979
├─ error.html.twig # All other HTML errors (including 500)
8080
├─ error404.json.twig
8181
├─ error403.json.twig
82-
─ error.json.twig # All other JSON errors (including 500)
82+
─ error.json.twig # All other JSON errors (including 500)
8383
8484
Example 404 Error Template
8585
--------------------------

0 commit comments

Comments
 (0)