Andrew 1 月之前
父節點
當前提交
71c1deee9c
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      app/Filament/Resources/AlbumResource/Pages/EditAlbum.php

+ 4
- 0
app/Filament/Resources/AlbumResource/Pages/EditAlbum.php 查看文件

@@ -12,6 +12,10 @@ class EditAlbum extends EditRecord
12 12
 {
13 13
     protected static string $resource = AlbumResource::class;
14 14
 
15
+    protected function getRedirectUrl(): string
16
+    {
17
+        return $this->getResource()::getUrl('index');
18
+    }
15 19
     protected function getHeaderActions(): array
16 20
     {
17 21
         return [