Skip to content

Commit

Permalink
Merge pull request #234 from lara-zeus/fix-prefilled-link
Browse files Browse the repository at this point in the history
fix prefilled link for tenant
  • Loading branch information
atmonshi authored Jan 10, 2024
2 parents 367add2 + d129ca1 commit 5a384b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filament/Resources/FormResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public static function getActions(): array
->icon('heroicon-o-link')
->tooltip(__('Get Prefilled Link'))
->visible(class_exists(\LaraZeus\BoltPro\BoltProServiceProvider::class))
->url(fn (ZeusForm $record): string => FormResource::getUrl('prefilled', [$record])),
->url(fn (ZeusForm $record): string => FormResource::getUrl('prefilled', ['record' => $record])),
ReplicateFormAction::make(),
DeleteAction::make(),
ForceDeleteAction::make(),
Expand Down

0 comments on commit 5a384b3

Please sign in to comment.