summaryrefslogtreecommitdiff
path: root/routes/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'routes/util.py')
-rw-r--r--routes/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/util.py b/routes/util.py
index 6c3f845..d0d9672 100644
--- a/routes/util.py
+++ b/routes/util.py
@@ -389,6 +389,7 @@ class URLGenerator(object):
anchor = anchor or newargs.pop('_anchor', None)
host = host or newargs.pop('_host', None)
protocol = protocol or newargs.pop('_protocol', None)
+ newargs['_environ'] = self.environ
url = self.mapper.generate(*route_args, **newargs)
if anchor is not None:
url += '#' + _url_quote(anchor, encoding)