On Thursday 30 July 2009 13:02:17 AkA wrote: > When I add a forward slash to the action parameter the right > controller method gets called so it looks like here's a fault in the > documentation.
I think it's rather a problem with you using relative urls, which differ in semantics based on the way the page was loaded. If you have http://foo/bar in your location-bar of the browser, and render a link like <a href="baz">baz</a> the request will go to "http://foo/baz". But when the location is http://foo/bar/ then the request from the very same link will go to http://foo/bar/baz For that reason, tg.decorators comes with two decorators that enforce the visit of a certain action to be rendered with a trailing slash. Better yet you don't use relative urls thoug. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

