Skip to content

Commit f7a83b6

Browse files
authored
Merge pull request #245 from Reapious/fix/page-url
fix: wrong argument used on getPageUrlFromId breaks page listing on f…
2 parents 1a141a7 + 429729f commit f7a83b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/PageResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static function table(Table $table): Table
174174
EditAction::make(),
175175
Action::make('visit')
176176
->label(__('filament-fabricator::page-resource.actions.visit'))
177-
->url(fn (?PageContract $record) => FilamentFabricator::getPageUrlFromId($record->id, true) ?: null)
177+
->url(fn (?PageContract $record) => FilamentFabricator::getPageUrlFromId($record->id) ?: null)
178178
->icon('heroicon-o-arrow-top-right-on-square')
179179
->openUrlInNewTab()
180180
->color('success')

0 commit comments

Comments
 (0)