On Wed, 8 Jul 2009, Chtipepere wrote:

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

Seems to me you either use underscore "_" instead of "-" in your slug or 
dont use "-" in your routes.



-- 



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