Is there a proper way to forward to an sfDoctrineRoute without losing the current request?
I'd like to forward (or redirect) to an sfDoctrineRoute without los开发者_如何学Going the current request data.
My issue is that when I use forward, the route isn't executed correctly and so things like $form->getObject() don't work. But if I redirect to the URL, I lose all my request data...
Why not pass the request params with the redirect?
$this->redirect('@someroute?params='.$params);
精彩评论