show controller template variables before global
This commit is contained in:
parent
16c524bd1a
commit
843c49e137
@ -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()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user