Fix bug in batch download URL
This commit is contained in:
parent
3c3aa5f2b1
commit
3b265e19c4
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue