I found listing the controllers explicitly as Bruno mentioned fixed the problem. Previously domain/non-default-controller returned: invalid function (default/non-default-controller) I would expect all controllers to work by default.
Richard On Wed, Nov 16, 2011 at 2:36 PM, Jonathan Lundell <jlund...@pobox.com> wrote: > On Nov 15, 2011, at 8:54 PM, Bruno Rocha wrote: > >> On Wed, Nov 16, 2011 at 2:34 AM, Massimo Di Pierro >> <massimo.dipie...@gmail.com> wrote: >> this should not be the case. if it is is a bug. >> >> >> I found this some time ago and I tough it was the default behaviour. >> >> for the following worked >> >> routers = dict( >> BASE = dict( >> domains = { >> >> 'domain1.com' : 'app1', >> >> 'domain2.com' : 'app2', >> >> }, >> controllers=['default', 'appadmin', ..., ..., ..., ] >> ), >> ) >> >> I has to list every controller, also functions >> > > It shouldn't be necessary to list the controllers (and it's not a good idea > to list controllers explicitly in the BASE router; if you need a controller > list, put it in an app-specific section).