init fix
This commit is contained in:
parent
8a9f156235
commit
6d9d19ce36
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user