Skip to content
Browse files

Merge pull request #20 from hamidnazari/master

Fixed template function name
  • Loading branch information...
2 parents bc8b16d + b47e864 commit 981120cad8acfb179d326eaebaf33451e3457330 @anandology anandology committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbook/xmlfiles.md
View
2 cookbook/xmlfiles.md
@@ -39,7 +39,7 @@ To serve this file, create a standard Web.Py program (i.e. response.py) and use
class index:
def GET(self, code):
web.header('Content-Type', 'text/xml')
- return render.index(code)
+ return render.response(code)
web.webapi.internalerror = web.debugerror
if __name__ == '__main__': app.run()

0 comments on commit 981120c

Please sign in to comment.
Something went wrong with that request. Please try again.