Hi,
How do I have to build an "index" controller of this type. I would like to 
"control" these two requests in one single controller:

   http://mydomain.com/foo
   http://mydomain.com/foo/123

I'm using this now but it's not working anymore with TG 2.1.5 and TG 
2.2beta, so I would like to fix it. I've never been confident about this 
implementation. I think it's probably wrong.

class FooController(BaseController):
    @expose(....)
    def default(self, *args):
        return dict()

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/KhZN1QQ_TicJ.
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