diff --git a/tailbone/views/batch.py b/tailbone/views/batch.py index 17d911d8..3af207c6 100644 --- a/tailbone/views/batch.py +++ b/tailbone/views/batch.py @@ -927,7 +927,7 @@ class FileBatchMasterView(BatchMasterView): model_title = cls.get_model_title() # download batch data file - config.add_route('{}.download'.format(route_prefix), '{}{{uuid}}/download'.format(url_prefix)) + config.add_route('{}.download'.format(route_prefix), '{}/{{uuid}}/download'.format(url_prefix)) config.add_view(cls, attr='download', route_name='{}.download'.format(route_prefix), permission='{}.download'.format(permission_prefix)) config.add_tailbone_permission(permission_prefix, '{}.download'.format(permission_prefix),