Hi,

On Sep 3, 3:10 pm, lengani <[EMAIL PROTECTED]> wrote:
> > Anyone does a redirection to make all urls have atrailingslash? What's the
> > simplest way to accomplish this?
> Routes has an "append_slash" option for the map.
...
> Not sure if it's precisely what you're looking for.

Thanks, that helped a lot. I only had to add logic to redirect to the
canonical location.

I posted my findings to the Cookbook,
http://wiki.pylonshq.com/display/pylonscookbook/Adding+trailing+slash+to+pages+automatically

Best,
Max.


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