From 11ac9ee5462a0143f015804942586a6e7748131f Mon Sep 17 00:00:00 2001 From: plt Date: Fri, 24 May 2013 14:25:28 +0800 Subject: [PATCH] Redesign the download url for a pubfile --- seahub/group/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/group/urls.py b/seahub/group/urls.py index d60cccbb1b..932c002a76 100644 --- a/seahub/group/urls.py +++ b/seahub/group/urls.py @@ -47,6 +47,6 @@ if settings.ENABLE_PUBFILE: url(r'^(?P\d+)/file/add/$', group_pubfile_add, name='group_pubfile_add'), url(r'^(?P\d+)/file/(?P\d+)/delete/$', group_pubfile_delete, name='group_pubfile_delete'), url(r'^(?P\d+)/file/(?P\d+)/edit/$', group_pubfile_edit, name='group_pubfile_edit'), - url(r'^(?P\d+)/file/(?P\d+)/$', group_pubfile_download, name='group_pubfile_download'), + url(r'^(?P\d+)/file/d/(?P.+)$', group_pubfile_download, name='group_pubfile_download'), )