On Wed, 6 Jan 2010, chrisyue wrote:

> in an action method
> if I use
> $this->redirect('a_route_name', array( 'a' => '1', 'b' => '2', 'c' =>
> '3'));
> 
> it will redirect to a url like /the_route?a=1&b=2&c=3, is it a
> bug? or I just use it wrong?
> 

Route names usually have a @ in front:

http://www.symfony-project.org/book/1_2/09-Links-and-the-Routing-System#chapter_09_sub_speeding_up_routing_by_using_the_rule_name



-- 


-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to