diff --git a/src/Extensions/ArchiveRestoreAction.php b/src/Extensions/ArchiveRestoreAction.php index a68f8d2..b6b1564 100644 --- a/src/Extensions/ArchiveRestoreAction.php +++ b/src/Extensions/ArchiveRestoreAction.php @@ -89,6 +89,6 @@ public function doRestore(array $data, Form $form): HTTPResponse $controller->getRequest()->addHeader('X-Pjax', 'Content'); $controller->getEditForm()->sessionMessage($message['text'], $message['type'], ValidationResult::CAST_HTML); - return $controller->redirect($controller->Link(), 'index'); + return $controller->redirect($controller->Link()); } }