Is there any way to do it as I described above? Shouldn't this be able
to do?

On Mar 16, 7:17 am, Syam <s...@nexen.org> wrote:
> Hi,
>
> In your factories.yml application config file, you can use the
> "segment_separators" option on routing section :
>
> all:
>   routing:
>     class: sfPatternRouting
>     param:
>       generate_shortest_url: true
>       extra_parameters_as_query_string: true
>       segment_separators: ['.','/','_']
>
> Hope this help.
>
> DarrenMr wrote:
> > Does symfony routing allow _? My routing config is below, it works
> > with / but not _
>
> > product_view:
> >   url: /product_:brand/:name
> >   param: { module: products, action: view }
> >   requirements: { brand: \d+, name: .+ }
>
> > name when I call it does not have any _
>
> > Does anyone know how to fix this?
>
> > Thanks,
> > Darren

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