Sadly,
symfony consider "/" as the only parameter separator in url, like /
name/id/sub_id/any, would be nice to allow custom separator and switch
from "/" to "-" so you could create url as the one that you would like
to build.
Now, what you can do is to write a rule like this: "/:string" (.html
it's not need 'cause it' handled in the project config), then you have
to write a function that parse the $string variable and extract the
id.

On 8 Mag, 19:08, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
> Another routing issue :
> How to write a rule like :
> /page-:id.html
> And not simply :
> /:id.html
> --
> Nicolas


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