<?php

namespace App\Filament\Admin\Resources\InternalCharacteristics\Pages;

use App\Filament\Admin\Resources\InternalCharacteristics\InternalCharacteristicsResource;
use Filament\Resources\Pages\CreateRecord;

class CreateInternalCharacteristics extends CreateRecord
{
    protected static string $resource = InternalCharacteristicsResource::class;

    protected function getRedirectUrl(): string
    {
        // Esto redirige a la página de listado
        return $this->getResource()::getUrl('index');
    }
}
