action button class

This commit is contained in:
2024-11-19 13:41:13 +03:00
parent 772ad48961
commit 0f47f73dda
10 changed files with 67 additions and 29 deletions

View File

@ -11,7 +11,7 @@ class MenuWidget extends Widget
public function run(): void
{
$menu = Menu::where("parent_id", 0)->get()->sortBy("priority");
$this->cgView->render('/admin/menu.php', ['menu' => $menu]);
$this->cgView->render('/menu.php', ['menu' => $menu]);
}
}