tags
This commit is contained in:
1 parent
1bc7662be0
commit
745707ee09
8 files changed
+81
-39
No files matched your search
@@ -36,7 +36,7 @@ class PostController extends AdminController
|
||||
$post = $this->postService->create($postForm);
|
||||
|
||||
$entityRelation = new EntityRelation();
|
||||
$entityRelation->saveEntityRelation("post", new Request());
|
||||
$entityRelation->saveEntityRelation(entity: "post", model: $post, request: new Request());
|
||||
|
||||
if ($post) {
|
||||
$this->redirect("/admin/post/view/" . $post->id);
|
||||
|
||||
Reference in new issue
Block a user