Add redirect after save (#813)

This commit is contained in:
Charles 2024-12-10 17:43:23 -05:00 committed by GitHub
parent 3ffb54503f
commit 8a122fa99c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,6 +91,8 @@ class EditFiles extends Page
->title('Saved File')
->body(fn () => $this->path)
->send();
$this->redirect(ListFiles::getUrl(['path' => dirname($this->path)]));
}),
Action::make('cancel')
->label('Cancel')