Skip to content

Commit fa741c2

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update direct_submit.rst
2 parents e86c2c9 + 74f1eea commit fa741c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

form/direct_submit.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ control over when exactly your form is submitted and what data is passed to it::
1515

1616
public function new(Request $request)
1717
{
18+
$task = new Task();
1819
$form = $this->createForm(TaskType::class, $task);
1920

2021
if ($request->isMethod('POST')) {

0 commit comments

Comments
 (0)