aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/admin/ShaareManageController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller/admin/ShaareManageController.php')
-rw-r--r--application/front/controller/admin/ShaareManageController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/front/controller/admin/ShaareManageController.php b/application/front/controller/admin/ShaareManageController.php
index 7ceb8d8a..2ed298f5 100644
--- a/application/front/controller/admin/ShaareManageController.php
+++ b/application/front/controller/admin/ShaareManageController.php
@@ -66,8 +66,8 @@ class ShaareManageController extends ShaarliAdminController
66 return $response->write('<script>self.close();</script>'); 66 return $response->write('<script>self.close();</script>');
67 } 67 }
68 68
69 // Don't redirect to where we were previously because the datastore has changed. 69 // Don't redirect to permalink after deletion.
70 return $this->redirect($response, '/'); 70 return $this->redirectFromReferer($request, $response, ['shaare/']);
71 } 71 }
72 72
73 /** 73 /**