mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 22:14:45 +02:00
Add redirect after save (#813)
This commit is contained in:
parent
3ffb54503f
commit
8a122fa99c
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user