show controller template variables before global

This commit is contained in:
Daniel Seifert 2025-03-24 08:14:18 +01:00
bovenliggende 16c524bd1a
commit 843c49e137

Bestand weergeven

@ -133,8 +133,8 @@ class DebugBarComponent extends BaseController
return new TemplateVariablesCollector(
array_merge(
$templateEngine->getGlobals(),
Registry::getConfig()->getActiveView()->getViewData()
Registry::getConfig()->getActiveView()->getViewData(),
$templateEngine->getGlobals()
)
);
}