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 f826c3b

Browse filesBrowse files
committed
Merge branch '5.3' into 5.4
* 5.3: Removing full URL of error page preview
2 parents f564116 + 9f53f51 commit f826c3b
Copy full SHA for f826c3b

File tree

1 file changed

+4
-5
lines changed
Filter options

1 file changed

+4
-5
lines changed

‎controller/error_pages.rst

Copy file name to clipboardExpand all lines: controller/error_pages.rst
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,11 @@ automatically when installing ``symfony/framework-bundle``):
184184
};
185185
186186
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.
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):
188189

189-
.. code-block:: text
190-
191-
http://localhost/index.php/_error/{statusCode}
192-
http://localhost/index.php/_error/{statusCode}.{format}
190+
* ``http://localhost/_error/{statusCode}`` for HTML
191+
* ``http://localhost/_error/{statusCode}.{format}`` for any other format
193192

194193
.. _overriding-non-html-error-output:
195194

0 commit comments

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