]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/DefaultController.php
Remove index function
[airbundle] / Controller / DefaultController.php
index 3d45a552d12622f4e791f6c6385ba84de72a02c0..def8c54574d0169aa5ba66e91c508d2a355656e0 100644 (file)
@@ -87,7 +87,6 @@ class DefaultController extends AbstractController {
                //Create the form according to the FormType created previously.
                //And give the proper parameters
                $form = $this->createForm('Rapsys\AirBundle\Form\ContactType', null, [
                //Create the form according to the FormType created previously.
                //And give the proper parameters
                $form = $this->createForm('Rapsys\AirBundle\Form\ContactType', null, [
-                       // To set the action use $this->generateUrl('route_identifier')
                        'action' => $this->generateUrl('rapsys_air_contact'),
                        'method' => 'POST'
                ]);
                        'action' => $this->generateUrl('rapsys_air_contact'),
                        'method' => 'POST'
                ]);