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
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace App\Filament;
trait CreateRedirectIndexTrait
{
protected function getRedirectUrl(): string
{
return static::$resource::getUrl('index');
}
}