Is it possible to make parameters in routing rules optional?

i.e.

/getarticle_by_id/:id/:page

I want the second parameter (page) to be optional - if it isn't
present then the urls will look like /getarticle_by_id/:id and I want
my action to retrieve all pages instead.


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