class Detail extends Page
{
use InteractsWithRecord;
protected static ?string $navigationIcon = 'heroicon-o-clipboard-document-list';
protected static string $view = 'filament.app.pages.location.detail';
protected static ?string $title = 'Details';
protected static ?string $slug = 'location/{record}/detail';
protected static bool $shouldRegisterNavigation = false;
public function mount(int | string $record): void
{
$this->record = $this->resolveRecord($record);
}
...
}
class Detail extends Page
{
use InteractsWithRecord;
protected static ?string $navigationIcon = 'heroicon-o-clipboard-document-list';
protected static string $view = 'filament.app.pages.location.detail';
protected static ?string $title = 'Details';
protected static ?string $slug = 'location/{record}/detail';
protected static bool $shouldRegisterNavigation = false;
public function mount(int | string $record): void
{
$this->record = $this->resolveRecord($record);
}
...
}