We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a783b89 commit 334458bCopy full SHA for 334458b
system/Config/Routing.php
@@ -24,7 +24,7 @@ class Routing extends BaseConfig
24
* Default: APPPATH . 'Config/Routes.php'
25
*/
26
public array $routeFiles = [
27
- APPPATH . 'Routes.php',
+ APPPATH . 'Config/Routes.php',
28
];
29
30
/**
@@ -95,4 +95,17 @@ class Routing extends BaseConfig
95
* Default: false
96
97
public bool $prioritize = false;
98
+
99
+ /**
100
+ * Map of URI segments and namespaces. For Auto Routing (Improved).
101
+ *
102
+ * The key is the first URI segment. The value is the controller namespace.
103
+ * E.g.,
104
+ * [
105
+ * 'blog' => 'Acme\Blog\Controllers',
106
+ * ]
107
108
+ * @var array [ uri_segment => namespace ]
109
+ */
110
+ public array $moduleRoutes = [];
111
}
0 commit comments