mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 04:04: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')
|
->title('Saved File')
|
||||||
->body(fn () => $this->path)
|
->body(fn () => $this->path)
|
||||||
->send();
|
->send();
|
||||||
|
|
||||||
|
$this->redirect(ListFiles::getUrl(['path' => dirname($this->path)]));
|
||||||
}),
|
}),
|
||||||
Action::make('cancel')
|
Action::make('cancel')
|
||||||
->label('Cancel')
|
->label('Cancel')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user