import turbogears
from turbogears import controllers
class Subdirectory(controllers.Root):
@turbogears.expose(html="project.templates.Subdirectory.index")
def index(self):
return dict()
class Root(controllers.Root):
@turbogears.expose(html="project.templates.index")
def index(self):
return dict()
Root.Subdirectory=Subdirectory()
this works!
it seems odd that specifying Subdirectory from within the Root class
doesn't work, though.
thank you all for your help.

