On 10/18/10 2:27 AM, Jordi Boggiano wrote:
So.. some news on this issue that never got much attention:
I now have this route set up for example:
viewEvent:
pattern: /:event/:title
defaults: { _controller: eventController:viewEventAction }
requirements: { event: \d+, title: '[a-z
On Mon, Oct 18, 2010 at 2:27 AM, Jordi Boggiano 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:
So.. some news on this issue that never got much attention:
I now have this route set up for example:
viewEvent:
pattern: /:event/:title
defaults: { _controller: eventController:viewEventAction }
requirements: { event: \d+, title: '[a-z0-9-]*' }
Setting the requirement for title wit