We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d72de1 commit 72f868eCopy full SHA for 72f868e
src/Turbo/README.md
@@ -101,7 +101,7 @@ automatically:
101
*/
102
public function newProduct(Request $request): Response
103
{
104
- $form = this->createForm(ProductFormType::class, null, [
+ $form = $this->createForm(ProductFormType::class, null, [
105
'action' => $this->generateUrl('product_new'),
106
]);
107
$form->handleRequest($request);
@@ -110,7 +110,7 @@ public function newProduct(Request $request): Response
110
// save...
111
112
return $this->redirectToRoute('product_list');
113
- );
+ }
114
115
return $this->renderForm('product/new.html.twig', [
116
'form' => $form,
0 commit comments