You can define routes with patterns like /{foo}/{bar}{.format} in
which the .format part is optional (see "Format extensions" in the
Routes docs); the new submapper helpers including map.collection() do
this.


On May 10, 2:10 am, Mike Orr <[email protected]> wrote:
> On Sun, May 9, 2010 at 8:32 AM, Mike Burrows <[email protected]> wrote:
>
> > For future reference there are ways to do this in the
> > latest Routes (the version going into Pylons 1.0) that don't involve
> > the clutter of these extra routes though.
>
> What's that?
>
> --
> Mike Orr <[email protected]>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" 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 
> athttp://groups.google.com/group/pylons-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to