diff --git a/docs/incoming/auto_routing_improved.html b/docs/incoming/auto_routing_improved.html index a7d402ff..be062f9a 100644 --- a/docs/incoming/auto_routing_improved.html +++ b/docs/incoming/auto_routing_improved.html @@ -749,6 +749,22 @@
Important
Directory names MUST start with an uppercase letter and be CamelCase.
+Namespaces need to updated to reflect the current namespace
+<?php + +namespace App\Controllers\Products; + +use App\Controllers\BaseController; + +class Home extends BaseController { + public function getIndex() { + echo "Products"; + } + +} ++
When using this feature the first segment of your URI must specify the directory. For example, let’s say you have a controller located here:
@@ -976,4 +992,4 @@