[symfony-users] Re: Url genartion bug for '/' ?

2010-08-27 Thread torok84
I have homepage: url: / param: { module: content, action: index } $this-redirect(@homepage); works as I expected (including frontend_dev.php). This method is actually better. Maye it is not important, but I think it is still wrong that $this- redirect() and url_for() behave differently.

[symfony-users] Re: Url genartion bug for '/' ?

2010-08-26 Thread pghoratiu
Do you have a route set up for your homepage, something like: homepage: url: / param: { module: homepage, action: index } Try also redirecting to $this-redirect('@homepage') it's much more efficient. gabriel On Aug 26, 5:48 pm, torok84 toro...@gmail.com wrote: Hi, I noticed that