Andrew 1 mēnesi atpakaļ
vecāks
revīzija
71c1deee9c

+ 4
- 0
app/Filament/Resources/AlbumResource/Pages/EditAlbum.php Parādīt failu

@@ -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 [