Don't redirect to non-existant /document/list after deleting
authorSverre Rabbelier <srabbelier@gmail.com>
Wed, 04 Mar 2009 23:11:05 +0000
changeset 1671 7959bc7b77a9
parent 1670 4d9bd851a5f5
child 1672 9b6cc71dd70c
Don't redirect to non-existant /document/list after deleting Patch by: Sverre Rabbelier
app/soc/views/models/document.py
--- a/app/soc/views/models/document.py	Wed Mar 04 23:10:38 2009 +0000
+++ b/app/soc/views/models/document.py	Wed Mar 04 23:11:05 2009 +0000
@@ -67,6 +67,7 @@
 
     new_params['export_content_type'] = 'text/text'
     new_params['export_extension'] = '.html'
+    new_params['delete_redirect'] = '/'
 
     new_params['no_create_raw'] = True
     new_params['no_create_with_scope'] = True