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