<?php

namespace App\Filament\Resources\IncomingLetters\Pages;

use App\Filament\Resources\IncomingLetters\IncomingLetters\IncomingLetterResource;
use Filament\Resources\Pages\CreateRecord;

class CreateIncomingLetter extends CreateRecord
{
    protected static string $resource = IncomingLetterResource::class;

    protected function getRedirectUrl(): string
    {
        return $this->getResource()::getUrl('index');
    }
}
