Skip to content

Commit

Permalink
Fix create product url (#1999)
Browse files Browse the repository at this point in the history
same as #1995

Co-authored-by: Aidas Klimas <[email protected]>
  • Loading branch information
AidasK and Aidas Klimas authored Oct 22, 2024
1 parent b4418b8 commit 5266054
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function getDefaultHeaderActions(): array
static::createActionFormInputs()
)->using(
fn (array $data, string $model) => static::createRecord($data, $model)
)->successRedirectUrl(fn (Model $record): string => route('filament.lunar.resources.products.edit', [
)->successRedirectUrl(fn (Model $record): string => ProductResource::getUrl('edit', [
'record' => $record,
])),
];
Expand Down

0 comments on commit 5266054

Please sign in to comment.