Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c5f7b1

Browse filesBrowse files
committed
Tweaks
1 parent 1d81778 commit 9c5f7b1
Copy full SHA for 9c5f7b1

File tree

1 file changed

+5
-3
lines changed
Filter options

1 file changed

+5
-3
lines changed

‎controller/error_pages.rst

Copy file name to clipboardExpand all lines: controller/error_pages.rst
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,12 @@ automatically when installing ``symfony/framework-bundle``):
183183
;
184184
};
185185
186-
Now you can preview your error page on these two routes:
186+
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):
187189

188-
* `/_error/{statusCode}` for HTML
189-
* `/_error/{statusCode}.{format}` for any other format
190+
* ``http://localhost/_error/{statusCode}`` for HTML
191+
* ``http://localhost/_error/{statusCode}.{format}`` for any other format
190192

191193
.. _overriding-non-html-error-output:
192194

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.