Skip to content

Commit a9ecb57

Browse files
authored
Merge pull request #6992 from kenjis/add-note-for-auto-routing-improved
docs: add note for Auto Routing (Improved) changes
2 parents 66e0061 + eb86cbc commit a9ecb57

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

user_guide_src/source/changelogs/v4.2.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Behavior Changes
6060
Enhancements
6161
************
6262

63+
.. _v420-new-improved-auto-routing:
64+
6365
New Improved Auto Routing
6466
=========================
6567

user_guide_src/source/incoming/controllers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ Auto Routing (Improved)
153153

154154
Since v4.2.0, the new more secure Auto Routing has been introduced.
155155

156+
.. note:: If you are familiar with Auto Routing, which was enabled by default
157+
from CodeIgniter 3 through 4.1.x, you can see the differences in
158+
:ref:`ChangeLog v4.2.0 <v420-new-improved-auto-routing>`.
159+
156160
This section describes the functionality of the new auto-routing.
157161
It automatically routes an HTTP request, and executes the corresponding controller method
158162
without route definitions.

user_guide_src/source/incoming/routing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,10 @@ Auto Routing (Improved)
585585

586586
Since v4.2.0, the new more secure Auto Routing has been introduced.
587587

588+
.. note:: If you are familiar with Auto Routing, which was enabled by default
589+
from CodeIgniter 3 through 4.1.x, you can see the differences in
590+
:ref:`ChangeLog v4.2.0 <v420-new-improved-auto-routing>`.
591+
588592
When no defined route is found that matches the URI, the system will attempt to match that URI against the controllers and methods when Auto Routing is enabled.
589593

590594
.. important:: For security reasons, if a controller is used in the defined routes, Auto Routing (Improved) does not route to the controller.

0 commit comments

Comments
 (0)