Skip to content

Commit

Permalink
Expose the résumé with the proper accents.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 29, 2024
1 parent 0ebfe43 commit c62630c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jaraco/site/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def e5a6ifyiqj_txt(self):
def allurbase(self):
return str(cherrypy.request.base)

@cherrypy.expose
@cherrypy.expose(alias='résumé')
def resume(self, url=None):
return resume.Renderer(url).html()

@cherrypy.expose
@cherrypy.expose(alias='résumé.pdf')
def resume_pdf(self, url=None):
res = resume.Renderer(url).pdf()
# only set the content type if the rendering succeeded
Expand Down

0 comments on commit c62630c

Please sign in to comment.