Skip to content

Commit

Permalink
Merge pull request #233 from lara-zeus/fix-pre-filled-link-for-tenant
Browse files Browse the repository at this point in the history
fix pre-filled link for tenant
  • Loading branch information
atmonshi authored Jan 10, 2024
2 parents dd73e85 + 9707689 commit 8523b57
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 @@ -238,7 +238,7 @@ public static function getActions(): array
->icon('iconpark-formone-o')
->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]));
}

if (class_exists(\LaraZeus\Helen\HelenServiceProvider::class)) {
Expand Down

0 comments on commit 8523b57

Please sign in to comment.