Jonathan,

Lets say I have a dict of all my controlers/actions

dict(default=['index','page'], account=['user','login','profile','logout'])

when requests any that are in the dict should be executed, normal.. but

if request anything that are not in the dict I want to pass it to a default
function, example:

myapp/default/index # default/index is in dict should run normally

myapp/jonathan # jonathan is not in dict, so should execute account/user and
pass 'jonathan' as request.args(0)

I can do it using routes on error, but it is not elegant.

is there a better way?

thanks

Reply via email to