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 222973e commit 9feda81Copy full SHA for 9feda81
src/Turbo/doc/index.rst
@@ -142,7 +142,7 @@ manually:
142
// save...
143
}
144
145
- + $response = new Response(null, $form->isSubmitted() ? 422 : 200);
+ + $response = new Response(null, $form->isSubmitted() ? Response::HTTP_UNPROCESSABLE_ENTITY : Response::HTTP_OK);
146
147
return $this->render('product/new.html.twig', [
148
'form' => $form->createView()
0 commit comments