17 lines
398 B
PHP
17 lines
398 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\PrinterResource\Pages;
|
|
|
|
use App\Filament\Resources\PrinterResource;
|
|
use Filament\Actions;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
|
|
class CreatePrinter extends CreateRecord
|
|
{
|
|
protected static string $resource = PrinterResource::class;
|
|
|
|
protected function getRedirectUrl(): string
|
|
{
|
|
return $this->getResource()::getUrl('index');
|
|
}
|
|
}
|