Skip to content

Commit

Permalink
Update MoonShineLaravelTranslationResource.php
Browse files Browse the repository at this point in the history
Route after save
  • Loading branch information
alexvenga authored Sep 27, 2023
1 parent c4aba8b commit b291a9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/MoonShineLaravelTranslationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class MoonShineLaravelTranslationResource extends Resource
'show', 'edit', /*'delete'*/
];

protected string $routeAfterSave = 'show';

public static string $orderField = 'group';

public function trClass(Model $item, int $index): string
Expand Down

0 comments on commit b291a9d

Please sign in to comment.