From 8827c390ead9d63de02ea0fdbbfe842a9f7703ba Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 19 Oct 2022 20:22:49 +0200 Subject: [PATCH] MVC / default template - missing comments in previous --- .../mvc/app/controllers/OPNsense/Base/ControllerBase.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php b/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php index e5af78fbb..84ff6d710 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php @@ -42,7 +42,7 @@ class ControllerBase extends ControllerRoot protected $content_security_policy = array(); /** - * @return array list of javascript files to c + * @return array list of javascript files to be included in default.volt */ protected function templateJSIncludes() { @@ -72,6 +72,9 @@ class ControllerBase extends ControllerRoot ]; } + /** + * @return array list of css files to be included in default.volt (used themed versions if available) + */ protected function templateCSSIncludes() { return [