Skip to content

Commit 334458b

Browse files
committed
config: update system/Config/Routing
This should be the same as Config\Routing.
1 parent a783b89 commit 334458b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

system/Config/Routing.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Routing extends BaseConfig
2424
* Default: APPPATH . 'Config/Routes.php'
2525
*/
2626
public array $routeFiles = [
27-
APPPATH . 'Routes.php',
27+
APPPATH . 'Config/Routes.php',
2828
];
2929

3030
/**
@@ -95,4 +95,17 @@ class Routing extends BaseConfig
9595
* Default: false
9696
*/
9797
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 = [];
98111
}

0 commit comments

Comments
 (0)