]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/DefaultController.php
Rename rapsysair:calendar2 command to rapsysair:calendar
[airbundle] / Controller / DefaultController.php
index 647baf844bb85af78275f564262555467072e5dd..14590963806e098561cc9da8ab44c9f23fb37847 100644 (file)
@@ -105,6 +105,7 @@ class DefaultController extends AbstractController {
                //And give the proper parameters
                $form = $this->factory->create('Rapsys\AirBundle\Form\ContactType', $data, [
                        'action' => $this->generateUrl('rapsysair_contact'),
                //And give the proper parameters
                $form = $this->factory->create('Rapsys\AirBundle\Form\ContactType', $data, [
                        'action' => $this->generateUrl('rapsysair_contact'),
+                       'captcha' => true,
                        'method' => 'POST'
                ]);
 
                        'method' => 'POST'
                ]);