From 8f245905488603f27ee3120c82c76496ebd85489 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 28 Jun 2023 10:27:11 +0900 Subject: [PATCH 1/2] docs: remove incorrect description A complete URL will be converted with base_url(). --- user_guide_src/source/general/errors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst index 163a7540084f..f5c4e1bd3d55 100644 --- a/user_guide_src/source/general/errors.rst +++ b/user_guide_src/source/general/errors.rst @@ -109,7 +109,7 @@ forcing a redirect to a specific route or URL: .. literalinclude:: errors/010.php -``$uri`` may be a URI path relative to baseURL, or a complete URL. You can also supply a +``$uri`` is a URI path relative to baseURL. You can also supply a redirect code to use instead of the default (``302``, "temporary redirect"): .. literalinclude:: errors/011.php From c72573a27a5154b6ffc129d9fe16155f71f51a22 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 28 Jun 2023 10:28:44 +0900 Subject: [PATCH 2/2] docs: remove `route` It may imply a named route. --- user_guide_src/source/general/errors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst index f5c4e1bd3d55..6d6ddeb51e77 100644 --- a/user_guide_src/source/general/errors.rst +++ b/user_guide_src/source/general/errors.rst @@ -105,7 +105,7 @@ RedirectException ----------------- This exception is a special case allowing for overriding of all other response routing and -forcing a redirect to a specific route or URL: +forcing a redirect to a specific URI: .. literalinclude:: errors/010.php