We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d81778 commit 9c5f7b1Copy full SHA for 9c5f7b1
controller/error_pages.rst
@@ -183,10 +183,12 @@ automatically when installing ``symfony/framework-bundle``):
183
;
184
};
185
186
-Now you can preview your error page on these two routes:
+With this route added, you can use URLs like these to preview the *error* page
187
+for a given status code as HTML or for a given status code and format (you might
188
+need to replace ``http://localhost/`` by the host used in your local setup):
189
-* `/_error/{statusCode}` for HTML
-* `/_error/{statusCode}.{format}` for any other format
190
+* ``http://localhost/_error/{statusCode}`` for HTML
191
+* ``http://localhost/_error/{statusCode}.{format}`` for any other format
192
193
.. _overriding-non-html-error-output:
194
0 commit comments