On Dec 23, 2011, at 6:04 AM, Anthony wrote: > No. The problem is that the router doesn't introspect the controller, and it > doesn't know what its function names are. So it assumes that 2011 is a > function in the default controller. > > For this to work, it's necessary to provide the router with a list of valid > functions in the default controller: functions = [index, whatever, ...]. > > Oh, right. I was thinking there was something like controllers='DEFAULT' for > functions, but you have to list the functions explicitly.
It'd be possible to do that, of course, duplicating (or sharing) the dispatch logic, but we don't. The overhead to do so would be fairly high in a cgi environment, too.