This commit is contained in:
Билай Станислав 2024-11-27 14:15:55 +03:00
parent 8a9f156235
commit 6d9d19ce36
2 changed files with 2 additions and 14 deletions

View File

@ -171,7 +171,7 @@ class EntityRelation
{
$moduleClass = $this->getAdditionalPropertyClassBySlug($slug);
if ($moduleClass and method_exists($moduleClass, "saveInputs")) {
$moduleClass->saveInputs($entity, $model, $request, );
$moduleClass->saveInputs($entity, $model, $request);
}
}

View File

@ -110,20 +110,8 @@ class AdminConsoleController extends ConsoleController
$this->menuService->createItem([
"label" => "Посты",
"url" => "#",
"slug" => "post",
]);
$this->menuService->createItem([
"label" => "Список",
"url" => "/admin/post",
"slug" => "post_list",
"parent_slug" => "post",
]);
$this->menuService->createItem([
"label" => "Создать",
"url" => "/admin/post/create",
"slug" => "post_create",
"parent_slug" => "post",
"slug" => "post",
]);
$this->out->r("create item menu post", "green");