We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3acd8 commit b9d1555Copy full SHA for b9d1555
1 file changed
app/Config/Routes.php
@@ -21,9 +21,10 @@
21
$routes->setDefaultMethod('index');
22
$routes->setTranslateURIDashes(false);
23
$routes->set404Override();
24
-// The auto-routing is very dangerous. It is easy to create vulnerable apps
+// The Auto Routing (Legacy) is very dangerous. It is easy to create vulnerable apps
25
// where controller filters or CSRF protection are bypassed.
26
-// It is recommended that you do not set it to `true`.
+// If you don't want to define all routes, please use the Auto Routing (Improved).
27
+// Set `$autoRoutesImproved` to true in `app/Config/Feature.php` and set the following to true.
28
//$routes->setAutoRoute(false);
29
30
/*
0 commit comments