finished the upgrade to filament 4. completely revamped the frontend with codex, now it looks great!
This commit is contained in:
17
app/Filament/Resources/Styles/Pages/CreateStyle.php
Normal file
17
app/Filament/Resources/Styles/Pages/CreateStyle.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\StyleResource\Pages;
|
||||
|
||||
use App\Filament\Resources\StyleResource;
|
||||
use Filament\Actions;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
|
||||
class CreateStyle extends CreateRecord
|
||||
{
|
||||
protected static string $resource = StyleResource::class;
|
||||
|
||||
protected function getRedirectUrl(): string
|
||||
{
|
||||
return $this->getResource()::getUrl('index');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user