Skip to content
This repository
Browse code

Fixed template function name

  • Loading branch information...
commit b47e864348e39bcd1e2ace6621865cf3642e6760 1 parent bc8b16d
Hamid Nazari hamidnazari authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  cookbook/xmlfiles.md
2  cookbook/xmlfiles.md
Source Rendered
@@ -39,7 +39,7 @@ To serve this file, create a standard Web.Py program (i.e. response.py) and use
39 39 class index:
40 40 def GET(self, code):
41 41 web.header('Content-Type', 'text/xml')
42   - return render.index(code)
  42 + return render.response(code)
43 43
44 44 web.webapi.internalerror = web.debugerror
45 45 if __name__ == '__main__': app.run()

0 comments on commit b47e864

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