Hi Alex, if I remove the separator I don't get any matches.
It worked perfectly in sf1.2 !
So, i'm wondering if its been deliberately stopped??
Regards
Jonathan
On 16 Oct 2009, at 07:33, Alexandre SALOME wrote:
> Could you try removing - from your segment separator ?
>
> url: /books-by-:author.html
> param: { module: books, action: list }
> options:
> segment_separators: [/, .]
>
> 2009/10/15 Jonathan Franks <[email protected]>
>
> in sf1.2, i could write a route like this...
>
> > url: /books-by-:author.html
> > param: { module: books, action: list }
> > options:
> > segment_separators: [/, ., -]
>
> and it would match...
>
> > /books-by-jon.html
> > /books-by-jon-franks.html
>
> but in sf1.3, it only matches...
>
> > /books-by-jon.html
>
>
> is this a deliberate change?
>
> Regards
>
> Jonathan
>
>
>
>
>
> --
> Alexandre Salomé -- [email protected]
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---