File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
user_guide_src/source/incoming Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ and execute the corresponding controller methods.
693693Enable Auto Routing
694694===================
695695
696- To use it, you need to change the setting ``$autoRoute `` option to true in **app/Config/Routing.php **::
696+ To use it, you need to change the setting ``$autoRoute `` option to `` true `` in **app/Config/Routing.php **::
697697
698698 public bool $autoRoute = true;
699699
@@ -824,9 +824,13 @@ Enable Auto Routing (Legacy)
824824
825825Since v4.2.0, the auto-routing is disabled by default.
826826
827- To use it, you need to change the setting ``$autoRoute `` option to true in **app/Config/Routing.php **::
827+ To use it, you need to change the setting ``$autoRoute `` option to `` true `` in **app/Config/Routing.php **::
828828
829- $routes->setAutoRoute(true);
829+ public bool $autoRoute = true;
830+
831+ And set the property ``$autoRoutesImproved `` to ``false `` in **app/Config/Feature.php **::
832+
833+ public bool $autoRoutesImproved = false;
830834
831835URI Segments (Legacy)
832836=====================
You can’t perform that action at this time.
0 commit comments