Skip to content

Commit 006e31b

Browse files
bdujonweaverryan
authored andcommitted
[doc] adding ->createView() in normal symfony controller
1 parent 52dc225 commit 006e31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ this, create your controller like normal, including the submit logic::
14821482

14831483
return $this->render('post/edit.html.twig', [
14841484
'post' => $post,
1485-
'form' => $form,
1485+
'form' => $form, // use $form->createView() in Symfony <6.2
14861486
]);
14871487
}
14881488
}

0 commit comments

Comments
 (0)