Bonjour,
La commande suivante :
... me donne l'URL :Code:
1
2 $this->redirect('commande/index?'.http_build_query($request->getParameter('commande')));
Comment paramétrer le fichier routing.yml pour avoir une url de ce type : :roll:Code:
1
2 http://localhost:8081/frontend_dev.php/commande?name=toto
... ou alors (si c'est possible) comment passer le paramètre comme un post ? :roll:Code:
1
2 http://localhost:8081/frontend_dev.php/commande/name/toto
Merci pour vos réponses.
A+ ;)