Files
nexusphp/app/Filament/EditRedirectIndexTrait.php

12 lines
177 B
PHP
Raw Normal View History

2022-11-07 18:50:16 +08:00
<?php
namespace App\Filament;
2022-12-01 00:45:22 +08:00
trait EditRedirectIndexTrait
2022-11-07 18:50:16 +08:00
{
protected function getRedirectUrl(): ?string
{
return static::$resource::getUrl('index');
}
}