Andrew 1 месяц назад
Родитель
Сommit
71c1deee9c
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      app/Filament/Resources/AlbumResource/Pages/EditAlbum.php

+ 4
- 0
app/Filament/Resources/AlbumResource/Pages/EditAlbum.php Просмотреть файл

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