We can't have a custom route class that is smart enough to convert
objects to params and vice versa?

Daniel


On May 23, 6:41 am, Christophe Willemsen
<willemsen.christo...@gmail.com> wrote:
> Hi Ben,
>
> I know it is pitty that the previous feature is away !
>
> You could however, add a getRoutingArray() to your object, which returns the
> array of parameters needed. You could then create a route like this:
>
> {{ path('blog_show', blog.routingArray) }}
>
> Christophe

-- 
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

Reply via email to