@@ -361,8 +361,8 @@ available from the command line:
361361.. note :: It is recommended to use Spark Commands for CLI scripts instead of calling controllers via CLI.
362362 See the :doc: `../cli/cli_commands ` page for detailed information.
363363
364- .. warning :: If you enable :ref:`auto-routing` and place the command file in **app/Controllers**,
365- anyone could access the command with the help of auto-routing via HTTP.
364+ .. warning :: If you enable :ref:`auto-routing-legacy ` and place the command file in **app/Controllers**,
365+ anyone could access the command with the help of Auto Routing (Legacy) via HTTP.
366366
367367Global Options
368368==============
@@ -386,8 +386,8 @@ The value for the filter can be a string or an array of strings:
386386See :doc: `Controller filters <filters >` for more information on setting up filters.
387387
388388.. Warning :: If you set filters to routes in **app/Config/Routes.php**
389- (not in **app/Config/Filters.php **), it is recommended to disable auto-routing .
390- When auto-routing is enabled, it may be possible that a controller can be accessed
389+ (not in **app/Config/Filters.php **), it is recommended to disable Auto Routing (Legacy) .
390+ When :ref: ` auto-routing-legacy ` is enabled, it may be possible that a controller can be accessed
391391 via a different URL than the configured route,
392392 in which case the filter you specified to the route will not be applied.
393393 See :ref: `use-defined-routes-only ` to disable auto-routing.
@@ -668,7 +668,7 @@ In this example, if the user were to visit **example.com/products**, and a ``Pro
668668.. note :: You cannot access the controller with the URI of the default method name.
669669 In the example above, you can access **example.com/products **, but if you access **example.com/products/listall **, it will be not found.
670670
671- .. _auto-routing :
671+ .. _auto-routing-legacy :
672672
673673Auto Routing (Legacy)
674674*********************
@@ -712,7 +712,7 @@ Consider this URI::
712712In the above example, CodeIgniter would attempt to find a controller named **Helloworld.php **
713713and executes ``index() `` method with passing ``'1' `` as the first argument.
714714
715- See :ref: `Auto Routing (Legacy) in Controllers <controller-auto-routing >` for more info.
715+ See :ref: `Auto Routing (Legacy) in Controllers <controller-auto-routing-legacy >` for more info.
716716
717717Configuration Options (Legacy)
718718==============================
@@ -732,7 +732,7 @@ The default controller is also used when no matching route has been found, and t
732732in the controllers directory. For example, if the user visits **example.com/admin **, if a controller was found at
733733**app/Controllers/Admin/Home.php **, it would be used.
734734
735- See :ref: `Auto Routing in Controllers <controller-auto-routing >` for more info.
735+ See :ref: `Auto Routing (Legacy) in Controllers <controller-auto-routing-legacy >` for more info.
736736
737737Default Method (Legacy)
738738-----------------------
0 commit comments