On 1/6/06, Robin Munn <[EMAIL PROTECTED]> wrote:
> On 1/6/06, Clank <[EMAIL PROTECTED]> wrote:
> What you want is to expose a default() method. Take a look at page 4
> of the 20-minute Wiki tutorial, on
> http://www.turbogears.org/docs/wiki20/page4.html, for an example. Have
> /archive point at a class that looks something like the following:

And note that in TurboGears 0.9, you can just do this:

@turbogears.expose(...)
def archive(self, filename):
    # filename will be "foo.html"

Kevin

Reply via email to