On Mon, Oct 18, 2010 at 2:27 AM, Jordi Boggiano <[email protected]> wrote:
> slash, is there any way to make it optional too? I could add it to the
> title pattern for sure since I don't use the title anyway, but that's
> a bit hackish and ugly.

Actually, seems I can't. I tried the following:

    pattern:  /:event:title
    requirements: { event: \d+, title: '(/[a-z0-9-]+)?' }

But it says: Unable to parse "/:event:title" route near ":title".

Not sure if there is a way to prevent this without having a proper
delimiter in the pattern.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to