Files
nexusphp/app/Filament/CreateRedirectIndexTrait.php

12 lines
178 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 CreateRedirectIndexTrait
2022-11-07 18:50:16 +08:00
{
2022-12-01 00:45:22 +08:00
protected function getRedirectUrl(): string
2022-11-07 18:50:16 +08:00
{
return static::$resource::getUrl('index');
}
}