<?php

namespace App\Filament\Resources\Panel\WorkTypeResource\Pages;

use Filament\Actions;
use Filament\Resources\Pages\CreateRecord;
use App\Filament\Resources\Panel\WorkTypeResource;

class CreateWorkType extends CreateRecord
{
    protected static string $resource = WorkTypeResource::class;
    protected function getRedirectUrl(): string
    {
        return $this->getResource()::getUrl('index');
    }
}
