From 8e396474715db0e9fe23d146061395d99d52a948 Mon Sep 17 00:00:00 2001 From: obozdag Date: Thu, 11 Apr 2024 22:59:40 +0200 Subject: [PATCH] docs: Update routing.rst Updated the explanation under "Array Callable Syntax" header. --- user_guide_src/source/incoming/routing.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user_guide_src/source/incoming/routing.rst b/user_guide_src/source/incoming/routing.rst index 77da04253bff..134b0e248134 100644 --- a/user_guide_src/source/incoming/routing.rst +++ b/user_guide_src/source/incoming/routing.rst @@ -122,8 +122,7 @@ Or using ``use`` keyword: :lines: 2- If you forget to add ``use App\Controllers\Home;``, the controller classname is -interpreted as ``Config\Home``, not ``App\Controllers\Home`` because -**app/Config/Routes.php** has ``namespace Config;`` at the top. +interpreted as ``\Home``, not ``App\Controllers\Home``. .. note:: When you use Array Callable Syntax, the classname is always interpreted as a fully qualified classname. So :ref:`routing-default-namespace` and