Files
nexusphp/app/Filament/EditRedirectIndexTrait.php
2022-12-01 00:45:22 +08:00

12 lines
177 B
PHP

<?php
namespace App\Filament;
trait EditRedirectIndexTrait
{
protected function getRedirectUrl(): ?string
{
return static::$resource::getUrl('index');
}
}