diff --git a/incoming/controllers.html b/incoming/controllers.html index 427f13154e..76acd18955 100644 --- a/incoming/controllers.html +++ b/incoming/controllers.html @@ -933,6 +933,12 @@ your app/Config/Routes.php file.

Auto Routing (Legacy)

+
+

Important

+

This feature exists only for backward compatibility. Do not use it +in new projects. Even if you are already using it, we recommend that you use +the Auto Routing (Improved) instead.

+

This section describes the functionality of Auto Routing (Legacy) that is a routing system from CodeIgniter 3. It automatically routes an HTTP request, and executes the corresponding controller method without route definitions. The auto-routing is disabled by default.

diff --git a/incoming/routing.html b/incoming/routing.html index 368a04faa5..31027da4e6 100644 --- a/incoming/routing.html +++ b/incoming/routing.html @@ -1463,6 +1463,12 @@ controller Acme\Blo

Auto Routing (Legacy)

+
+

Important

+

This feature exists only for backward compatibility. Do not use it +in new projects. Even if you are already using it, we recommend that you use +the Auto Routing (Improved) instead.

+

Auto Routing (Legacy) is a routing system from CodeIgniter 3. It can automatically route HTTP requests based on conventions and execute the corresponding controller methods.

It is recommended that all routes are defined in the app/Config/Routes.php file,