Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 086d734

Browse files
committed
merged branch damienalexandre/patch-1 (PR #515)
This PR was merged into the master branch. Discussion ---------- Remove a deprecated call to bindRequest() Quick fix to replace `bindRequest()` to `bind()` in the `DemoController.php` exemple. Commits ------- f13e422 Remove a deprecated call to bindRequest()
2 parents 286b32a + f13e422 commit 086d734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Acme/DemoBundle/Controller/DemoController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function contactAction()
4040

4141
$request = $this->get('request');
4242
if ('POST' == $request->getMethod()) {
43-
$form->bindRequest($request);
43+
$form->bind($request);
4444
if ($form->isValid()) {
4545
$mailer = $this->get('mailer');
4646
// .. setup a message and send it

0 commit comments

Comments
 (0)