Static files are served by a middleware class (check your config/middleware.py), you could create a new middleware and just check the request url and serve from your private folder in any way you want, there are many middleware extensions that does something similar (and may help you get started), such as tgext.scss, tgext.less, tgext.coffeescript.
2012/2/20 Juan Antonio Ibáñez <[email protected]>: > Hello, > > I have one non public folder containing files from multiple > extenstions. Is there any generic way to serve these files from the > controller? > > Regards > > -- > 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. > -- 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.

