From a74a16cfba7f3a3ec90e7bc7cd262db4e0295cc5 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 16 Oct 2013 08:56:53 -0500 Subject: [PATCH] fixed issue 1719:decorators ignore routes, thanks vladsalehov --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ec856b9c..5c4e24e6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.4-stable+timestamp.2013.10.14.10.13.57 +Version 2.7.4-stable+timestamp.2013.10.16.08.55.58 diff --git a/gluon/tools.py b/gluon/tools.py index 79f8371e..3680ac76 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -1124,7 +1124,7 @@ class Auth(object): f=f, args=args, vars=vars, scheme=scheme) def here(self): - return current.request.env.request_uri + return URL(args=current.request.args,vars=current.request.vars) def __init__(self, environment=None, db=None, mailer=True, hmac_key=None, controller='default', function='user',