Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions user_guide_src/source/incoming/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ and execute the corresponding controller methods.
Enable Auto Routing
===================

To use it, you need to change the setting ``$autoRoute`` option to true in **app/Config/Routing.php**::
To use it, you need to change the setting ``$autoRoute`` option to ``true`` in **app/Config/Routing.php**::

public bool $autoRoute = true;

Expand Down Expand Up @@ -824,9 +824,13 @@ Enable Auto Routing (Legacy)

Since v4.2.0, the auto-routing is disabled by default.

To use it, you need to change the setting ``$autoRoute`` option to true in **app/Config/Routing.php**::
To use it, you need to change the setting ``$autoRoute`` option to ``true`` in **app/Config/Routing.php**::

$routes->setAutoRoute(true);
public bool $autoRoute = true;

And set the property ``$autoRoutesImproved`` to ``false`` in **app/Config/Feature.php**::

public bool $autoRoutesImproved = false;

URI Segments (Legacy)
=====================
Expand Down