diff --git a/src/scripts.php b/src/scripts.php index a83fcb6..b1a2e12 100644 --- a/src/scripts.php +++ b/src/scripts.php @@ -2,6 +2,6 @@ if (class_exists('\Leaf\Config')) { \Leaf\Config::addScript(function () { - \Leaf\App::attachView(\Leaf\BareUI::class, 'template'); + \Leaf\Config::attachView(\Leaf\BareUI::class, 'template'); }); }