Skip to content

Commit 0e8977d

Browse files
committed
docs: add note for Auto Routing (Improved) changes
1 parent 0b24532 commit 0e8977d

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ 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 CodeIgniter 3's Auto Routing or Auto Routing (Legacy),
157+
you can see the differences in :ref:`ChangeLog v4.2.0 <v420-new-improved-auto-routing>`.
158+
156159
This section describes the functionality of the new auto-routing.
157160
It automatically routes an HTTP request, and executes the corresponding controller method
158161
without route definitions.

user_guide_src/source/incoming/routing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@ 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 CodeIgniter 3's Auto Routing or Auto Routing (Legacy),
589+
you can see the differences in :ref:`ChangeLog v4.2.0 <v420-new-improved-auto-routing>`.
590+
588591
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.
589592

590593
.. 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)