Skip to content

Commit 7de02d4

Browse files
committed
minor #5309 [Cookbook][Controller] few tweaks to the error pages article (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Controller] few tweaks to the error pages article | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- c7d1266 few tweaks to the error pages article
2 parents 53357fb + c7d1266 commit 7de02d4

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)