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.
693
693
Enable Auto Routing
694
694
===================
695
695
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 **::
697
697
698
698
public bool $autoRoute = true;
699
699
@@ -824,9 +824,13 @@ Enable Auto Routing (Legacy)
824
824
825
825
Since v4.2.0, the auto-routing is disabled by default.
826
826
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 **::
828
828
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;
830
834
831
835
URI Segments (Legacy)
832
836
=====================
You can’t perform that action at this time.
0 commit comments