Skip to content

Commit febe5a4

Browse files
datamwebkenjis
andauthored
docs: apply suggestions from code review
Co-authored-by: kenjis <[email protected]>
1 parent 962aecd commit febe5a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ In CodeIgniter 4, understanding and managing routing information is crucial for
11351135
This involves retrieving details about the active controller and method, as well as the filters applied to a specific route.
11361136
Below, we explore how to access this routing information to assist in tasks such as logging, debugging, or implementing conditional logic.
11371137

1138-
Retrieving the Controller and Method Names
1138+
Retrieving the Current Controller/Method Names
11391139
==========================================
11401140

11411141
In some cases, you might need to determine which controller and method have been triggered by the current HTTP request.
@@ -1147,7 +1147,7 @@ CodeIgniter 4 provides a simple way to access the current route's controller and
11471147

11481148
This functionality is particularly useful when you need to dynamically interact with your controller or log which method is handling a particular request.
11491149

1150-
Accessing Active Filters for a Route
1150+
Getting Active Filters for the Current Route
11511151
====================================
11521152

11531153
:doc:`Filters <filters>` are a powerful feature that enables you to perform operations such as authentication, logging, and security checks before or after processing HTTP requests.
@@ -1158,5 +1158,5 @@ This method returns a list of filters that are currently active for the route be
11581158
.. literalinclude:: routing/072.php
11591159

11601160
.. note:: The ``getFilters()`` method returns only the filters defined for the specific route.
1161-
It does not include global filters or those specified in configuration files.
1161+
It does not include global filters or those specified in the **app/Config/Filters.php** file.
11621162

0 commit comments

Comments
 (0)