Christopher Arndt schrieb:
> class Controller:
> @expose(self, **kw):
> if kw.get('action_kung'):
> # do action kung
> elif kw.get('action_foo'):
> # do action foo
Argh, where's my head:
class Controller:
@expose()
def index(self, **kw):
if kw.get('action_kung'):
# do action kung
elif kw.get('action_foo'):
# do action foo
*now goes to make dinner so that brain gets some blood sugar again*
Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---