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