From bff8cf2be8b59a7afccbc47f87628417fbf59897 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 7 Jan 2025 13:00:19 +0100 Subject: [PATCH] mvc: move Volt template from Mvc\Controller to Base\ControllerBase which is only used for ui pages. [2] fix a comment --- .../mvc/app/controllers/OPNsense/Base/ControllerBase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php b/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php index c87fc229a..c069780b9 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php @@ -109,8 +109,7 @@ class ControllerBase extends ControllerRoot } /** - * Construct a view to render Volt templates, eventually this should be moved to its own controller - * implementation to avoid API calls constructing components it doesn't need. + * Construct a view to render Volt templates */ public function __construct() {