filament create&edit redirect

This commit is contained in:
xiaomlove
2022-12-01 00:45:22 +08:00
parent 058bb995c1
commit fe6564dd7e
19 changed files with 63 additions and 111 deletions

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Filament;
trait EditRedirectIndexTrait
{
protected function getRedirectUrl(): ?string
{
return static::$resource::getUrl('index');
}
}