mvc: fix routing default

This commit is contained in:
Franco Fichtner 2024-05-13 14:14:43 +02:00
parent 2785cb641f
commit 7077e7c182

View File

@ -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