From eac1e538b49c292e283965b6a7d6e3f314bf2123 Mon Sep 17 00:00:00 2001 From: Olivier Hardy Date: Mon, 6 Feb 2012 16:01:11 +0100 Subject: [PATCH] In template, use handler reverse_url instead of application one --- tornado/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/web.py b/tornado/web.py index a0f6382b..d1a26f57 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -588,7 +588,7 @@ class RequestHandler(object): _=self.locale.translate, static_url=self.static_url, xsrf_form_html=self.xsrf_form_html, - reverse_url=self.application.reverse_url + reverse_url=self.reverse_url ) args.update(self.ui) args.update(kwargs)