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); $moduleClass = $this->getAdditionalPropertyClassBySlug($slug);
if ($moduleClass and method_exists($moduleClass, "saveInputs")) { 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([ $this->menuService->createItem([
"label" => "Посты", "label" => "Посты",
"url" => "#",
"slug" => "post",
]);
$this->menuService->createItem([
"label" => "Список",
"url" => "/admin/post", "url" => "/admin/post",
"slug" => "post_list", "slug" => "post",
"parent_slug" => "post",
]);
$this->menuService->createItem([
"label" => "Создать",
"url" => "/admin/post/create",
"slug" => "post_create",
"parent_slug" => "post",
]); ]);
$this->out->r("create item menu post", "green"); $this->out->r("create item menu post", "green");