Hello Gordon,
   Have you tried removing the line -> requirements: { page: \d* }    ??

regards,
Rimenes Ribeiro.

> Hello,
>
>
>
> I have a routing rule like this:
>
>
>
> homepage:
>
>   url:   /:page
>
>   param: { module: post, action: index, page: 1 }
>
>   requirements: { page: \d* }
>
>
>
> but the problem is that the :page parameter is not optional!
>
> How can i set the :page parameter as an optional parameter?
>
>
>
>
>
> greetings
>
> Gordon
>
>
> >
>



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