Re: [symfony-users] Qustion about routing

2010-07-13 Thread Gábor Fási
Why not use the route's name? link_to("bar", "@mensaje_nuevo") On Tue, Jul 13, 2010 at 14:53, Javier Garcia wrote: > Hi, > > I have this rule in routing.yml: > > mensaje_nuevo: >  url:   /mensaje/nuevo > > and this link in a template: > > echo link_to('Foo', 'mensaje/nuevo'); > > > When i ex

[symfony-users] Qustion about routing

2010-07-13 Thread Javier Garcia
Hi, I have this rule in routing.yml: mensaje_nuevo: url: /mensaje/nuevo and this link in a template: echo link_to('Foo', 'mensaje/nuevo'); When i execute the action that renders the link, it gives me this error: "Unable to find a matching route to generate url for params "array ( 'acti