summaryrefslogtreecommitdiff
path: root/routes/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'routes/mapper.py')
-rw-r--r--routes/mapper.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/routes/mapper.py b/routes/mapper.py
index cf4dcf1..8916fd3 100644
--- a/routes/mapper.py
+++ b/routes/mapper.py
@@ -490,7 +490,11 @@ class Mapper(SubMapperParent):
routepath = path_prefix + route.routepath
else:
routepath = route.routepath
- self.connect(route.name, routepath, **route._kargs)
+ self.connect(route.name,
+ routepath,
+ conditions=route.conditions,
+ **route._kargs
+ )
def make_route(self, *args, **kargs):
"""Make a new Route object