You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how do you get this error "The controller must return a response (Array(form => Object(Symfony\Component\Form\FormView), departement => Object(MyApp\HomeBundle\Entity\Departement)) given)."?
#88
Open
dawwwla opened this issue
Feb 19, 2014
· 0 comments
Hello, I added the parameter {id} has my router as follows to add another level in my department:
Former route:
level_ajouter:
pattern: /level/ajouter/
defaults: { _controller: HomeBundle:Level:editer }
New route:
pattern: /level/ajouter/{id}
defaults: { _controller: HomeBundle:Level:editer }
so I recue this error:
The controller must return a response (Array(form => Object(Symfony\Component\Form\FormView), departement => Object(MyApp\HomeBundle\Entity\Departement)) given).
The text was updated successfully, but these errors were encountered:
Hello, I added the parameter {id} has my router as follows to add another level in my department:
Former route:
level_ajouter:
pattern: /level/ajouter/
defaults: { _controller: HomeBundle:Level:editer }
New route:
pattern: /level/ajouter/{id}
defaults: { _controller: HomeBundle:Level:editer }
so I recue this error:
The controller must return a response (Array(form => Object(Symfony\Component\Form\FormView), departement => Object(MyApp\HomeBundle\Entity\Departement)) given).
The text was updated successfully, but these errors were encountered: