In template, use handler reverse_url instead of application one

This commit is contained in:
Olivier Hardy 2012-02-06 16:01:11 +01:00 committed by Ben Darnell
parent 99d9d74c22
commit eac1e538b4
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ class RequestHandler(object):
_=self.locale.translate, _=self.locale.translate,
static_url=self.static_url, static_url=self.static_url,
xsrf_form_html=self.xsrf_form_html, xsrf_form_html=self.xsrf_form_html,
reverse_url=self.application.reverse_url reverse_url=self.reverse_url
) )
args.update(self.ui) args.update(self.ui)
args.update(kwargs) args.update(kwargs)