Skip to content

Commit

Permalink
config: update system/Config/Routing
Browse files Browse the repository at this point in the history
This should be the same as Config\Routing.
  • Loading branch information
kenjis committed Nov 19, 2023
1 parent 7c0024a commit ad6e3e1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion system/Config/Routing.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Routing extends BaseConfig
* Default: APPPATH . 'Config/Routes.php'
*/
public array $routeFiles = [
APPPATH . 'Routes.php',
APPPATH . 'Config/Routes.php',
];

/**
Expand Down Expand Up @@ -95,4 +95,17 @@ class Routing extends BaseConfig
* Default: false
*/
public bool $prioritize = false;

/**
* Map of URI segments and namespaces. For Auto Routing (Improved).
*
* The key is the first URI segment. The value is the controller namespace.
* E.g.,
* [
* 'blog' => 'Acme\Blog\Controllers',
* ]
*
* @var array [ uri_segment => namespace ]
*/
public array $moduleRoutes = [];
}

0 comments on commit ad6e3e1

Please sign in to comment.