From b291a9da9ecc702486d7d389c30ebe33cb8265fe Mon Sep 17 00:00:00 2001 From: alexvenga Date: Wed, 27 Sep 2023 01:50:30 -0700 Subject: [PATCH] Update MoonShineLaravelTranslationResource.php Route after save --- src/Resources/MoonShineLaravelTranslationResource.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/MoonShineLaravelTranslationResource.php b/src/Resources/MoonShineLaravelTranslationResource.php index 251da15..4d90421 100644 --- a/src/Resources/MoonShineLaravelTranslationResource.php +++ b/src/Resources/MoonShineLaravelTranslationResource.php @@ -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