This[1] is the code I use for routes in TG.  I then create a dispatch
instance outside the root controller and use it in the default method.
 I never quite worked out why but you need to get the config again if
you're using url_for in the template as the config never seems to make
it to the template's execution.

This is probably not the best way of going about things, but for my
uses it's worked very well.

[1]: http://paste.turbogears.org/paste/1243

Hope this helps,

Lee
-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to turbogears@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to