mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
mvc: fix routing default
This commit is contained in:
parent
2785cb641f
commit
7077e7c182
@ -64,8 +64,8 @@ try {
|
||||
$router = new OPNsense\Mvc\Router('/ui/');
|
||||
try {
|
||||
$response = $router->routeRequest($_SERVER['REQUEST_URI'], [
|
||||
'controller' => 'indexController',
|
||||
'action' => 'indexAction'
|
||||
'controller' => 'IndexController',
|
||||
'action' => 'indexAction',
|
||||
]);
|
||||
} catch (\OPNsense\Mvc\Exceptions\DispatchException) {
|
||||
// unroutable (page not found), present page not found controller
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user