Skip to content

Commit b9d1555

Browse files
committed
docs: update comment
1 parent bf3acd8 commit b9d1555

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/Config/Routes.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
$routes->setDefaultMethod('index');
2222
$routes->setTranslateURIDashes(false);
2323
$routes->set404Override();
24-
// The auto-routing is very dangerous. It is easy to create vulnerable apps
24+
// The Auto Routing (Legacy) is very dangerous. It is easy to create vulnerable apps
2525
// where controller filters or CSRF protection are bypassed.
26-
// It is recommended that you do not set it to `true`.
26+
// 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.
2728
//$routes->setAutoRoute(false);
2829

2930
/*

0 commit comments

Comments
 (0)