art make:filament-page ManageSheets --resource=BinderResource --type=custom
use InteractsWithRecord; line, and the exampled mount entries. See code below.'manage' => Pages\ManageSheets::route('/{record}/manage'),
Action::make('Manage')
->url(fn (Binder $record): string => BinderResource::getUrl('manage', ['record' => $record->id])),
<?php
namespace App\Filament\Binder\Resources\BinderResource\Pages;
use App\Filament\Binder\Resources\BinderResource;
use Filament\Resources\Pages\Page;
class ManageSheets extends Page
{
use InteractsWithRecord;
protected static string $resource = BinderResource::class;
protected static string $view = 'filament.binder.resources.binder-resource.pages.manage-sheets';
public function mount(int | string $record): void
{
$this->record = $this->resolveRecord($record);
static::authorizeResourceAccess();
}
}