Hello everybody,

I'm trying to do that :
car:
  url:                         /brands/:slug/car-:id-:slug.html
  class:                     sfDoctrineRoute
  options:
    column:                slug
    model:                  Car
    type:                     object
  param:
    module:                product
    action:                  show
  requirements:
    slug:                      ^([a-z-]{2,255})$

I have two problem :
1/ using hyphen broke the recognition of :id and :slug. If I use slash
(/) instead, it works...
2/ how can I use two slug for two different object in my url ? Using
the route like that replace the two :slug with the same value
(logic)...

Thanks in advance, and hope someday I could help too ;)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to