From 3b265e19c465d845a38396fab390c47734dd35f6 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 17 Aug 2016 16:51:31 -0500 Subject: [PATCH] Fix bug in batch download URL --- tailbone/views/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),