From 19f88fbdc53d97e7f1770bbb067ab401a5bc2ece Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 27 Jun 2023 11:24:32 +0900 Subject: [PATCH] docs: fix incorrect description A named route cannot be used with RedirectException. --- user_guide_src/source/general/errors.rst | 2 +- user_guide_src/source/general/errors/010.php | 2 +- user_guide_src/source/general/errors/011.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst index c46aed6572ce..163a7540084f 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 -``$route`` may be a named route, relative URI, or a complete URL. You can also supply a +``$uri`` may be a URI path relative to baseURL, or a complete URL. You can also supply a redirect code to use instead of the default (``302``, "temporary redirect"): .. literalinclude:: errors/011.php diff --git a/user_guide_src/source/general/errors/010.php b/user_guide_src/source/general/errors/010.php index ff9cfee974ef..47ecb3c7853f 100644 --- a/user_guide_src/source/general/errors/010.php +++ b/user_guide_src/source/general/errors/010.php @@ -1,3 +1,3 @@