Skip to content

Commit 2861340

Browse files
datamwebkenjis
andauthored
fix: use Router in text
Co-authored-by: kenjis <[email protected]>
1 parent dea8829 commit 2861340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Retrieving the Controller and Method Names
157157
In some cases, you might need to determine which controller and method have been triggered by the current HTTP request.
158158
This can be useful for logging, debugging, or conditional logic based on the active controller method.
159159

160-
CodeIgniter 4 provides a simple way to access the current route's controller and method names using the ``Services::router()`` class. Here is an example:
160+
CodeIgniter 4 provides a simple way to access the current route's controller and method names using the ``Router`` class. Here is an example:
161161

162162
.. literalinclude:: routing/071.php
163163

0 commit comments

Comments
 (0)