In 2.0 look at the class ObjectDispatcher(Dispatcher), in dispatcher.py The root controller is always an ObjectDispatcher and it's what starts the dispatch.
On Tue, Nov 24, 2009 at 1:01 PM, AF <[email protected]> wrote: > > > On Nov 24, 11:31 am, "Diez B. Roggisch" <[email protected]> wrote: >> On Tuesday 24 November 2009 17:05:15 AF wrote: >> >> > On Nov 23, 7:38 pm, Mark Ramm <[email protected]> wrote: >> > > Rest Controller is just a placeholder, to understand how the dispatch >> > > happens, you'll need to look at the dispatch code itself. >> >> > > Are you using 2.0.x or 2.1 either way it's in tg.controllers, but in >> > > 2.1 it's isolated out into a separate module... >> >> > Thanks Mark. >> >> > From looking at 2.1's tg.controllers, it seems that RestController >> > extends DecoratedController, but where is the actual routing code I >> > should inspect? Is it in TG or Pylons? >> >> tg.controllers. >> >> > > Diez, > > I am already looking at tg.controllers... but I am not familiar > enough with TG's architecture to make heads for tails out of it. > > Can you point me to the section of code that is doing the routing for > RestController? It certainly is not in RestController itself, since > its only a few lines of code. > > thanks > > -- > > 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. > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog -- 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.

