From 7077e7c182de2d12e8cb85c4b719c8e4f02b561e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 13 May 2024 14:14:43 +0200 Subject: [PATCH] mvc: fix routing default --- src/opnsense/www/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opnsense/www/index.php b/src/opnsense/www/index.php index 755c70a0b..3d6323ee2 100644 --- a/src/opnsense/www/index.php +++ b/src/opnsense/www/index.php @@ -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