Why not use the route's name? link_to("bar", "@mensaje_nuevo")
On Tue, Jul 13, 2010 at 14:53, Javier Garcia <tirengar...@gmail.com> 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 execute the action that renders the link, it gives me this error: > > "Unable to find a matching route to generate url for params "array ( > 'action' => 'nuevo', 'module' => 'mensaje',)"." > > Any idea? > > -- > > Javi > > Ubuntu 8.04 - Symfony 1.3 > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@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 > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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