madcubano2 ha scritto:
> I've tried exposing the file in my controller and putting the file in
> the /templates directory but this doesn't seem to work (seems that a
> period in the filename is not supported in the expose clause).
>
Try having this on your root controller. You should be able to use an
underscore in place of a dot.
@expose(template='project.templates.sitemap')
def sitemap_xml(self):
return dict()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---