[symfony-users] Symfony routing and _

2010-03-16 Thread DarrenMr
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,

Re: [symfony-users] Symfony routing and _

2010-03-16 Thread Syam
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

[symfony-users] Symfony Routing with forms

2008-06-19 Thread Jonathan
I'm attempting to setup a page that uses select boxes and passes their values via a get request to the action that should be executed. I want these get parameters to be shown in the URL using the rewrite mechanism but the default values of the routing.yml file for the application override my