Andrew 1 kuukausi sitten
vanhempi
commit
71c1deee9c
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      app/Filament/Resources/AlbumResource/Pages/EditAlbum.php

+ 4
- 0
app/Filament/Resources/AlbumResource/Pages/EditAlbum.php Näytä tiedosto

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