Skip to content

Commit ae1c187

Browse files
authored
Merge pull request #8765 from obozdag/patch-1
docs: Update routing.rst
2 parents 460466c + 8e39647 commit ae1c187

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ Or using ``use`` keyword:
122122
:lines: 2-
123123

124124
If you forget to add ``use App\Controllers\Home;``, the controller classname is
125-
interpreted as ``Config\Home``, not ``App\Controllers\Home`` because
126-
**app/Config/Routes.php** has ``namespace Config;`` at the top.
125+
interpreted as ``\Home``, not ``App\Controllers\Home``.
127126

128127
.. note:: When you use Array Callable Syntax, the classname is always interpreted
129128
as a fully qualified classname. So :ref:`routing-default-namespace` and

0 commit comments

Comments
 (0)