23 lines
523 B
PHP
23 lines
523 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\PrinterResource\Pages;
|
|
|
|
use App\Filament\Resources\PrinterResource;
|
|
use Filament\Actions;
|
|
use Filament\Resources\Pages\EditRecord;
|
|
|
|
class EditPrinter extends EditRecord
|
|
{
|
|
protected static string $resource = PrinterResource::class;
|
|
|
|
protected function getRedirectUrl(): string
|
|
{
|
|
return $this->getResource()::getUrl('index');
|
|
}
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
Actions\DeleteAction::make(),
|
|
];
|
|
}
|
|
}
|