sorry for the email, the answer was here:
http://docs.turbogears.org/1.0/GettingStarted/CherryPy

    @expose()
    def default(self, *args, **kw):
            return self.index(*args)


On Jan 29, 2008 11:02 PM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote:
> Hello,
> I have an index page that takes arguments
> example.com/index/2008
> how can I redirect all requests that look like this
> example.com/2008
> to be passed in to index using return self.index(2008)?
>
> What would the code in controller look like?
>
> Lucas
>



-- 
--
TurboGears from start to finish:
http://www.lucasmanual.com/mywiki/TurboGears

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

Reply via email to