mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Fixed ushare bug and translate view_shared_file page
This commit is contained in:
@@ -176,7 +176,8 @@ def repo_remove_share(request):
|
||||
|
||||
next = request.META.get('HTTP_REFERER', None)
|
||||
if not next:
|
||||
next = settings.SITE_ROOT
|
||||
from seahub.settings import SITE_ROOT
|
||||
next = SITE_ROOT
|
||||
|
||||
return HttpResponseRedirect(next)
|
||||
|
||||
|
Reference in New Issue
Block a user