diff options
Diffstat (limited to 'routes/mapper.py')
-rw-r--r-- | routes/mapper.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/routes/mapper.py b/routes/mapper.py index eb4060a..3de0cfe 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 |