From ddd67d37e00c74037ad11c631d84ac932c4be194 Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Tue, 30 Apr 2024 13:50:48 -0700 Subject: [PATCH] Revert "Remove redirect to index after update. (#15679)" (#15925) --- .../OrchardCore.Settings/Controllers/AdminController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/OrchardCore.Modules/OrchardCore.Settings/Controllers/AdminController.cs b/src/OrchardCore.Modules/OrchardCore.Settings/Controllers/AdminController.cs index 3961430168d..fac76003b44 100644 --- a/src/OrchardCore.Modules/OrchardCore.Settings/Controllers/AdminController.cs +++ b/src/OrchardCore.Modules/OrchardCore.Settings/Controllers/AdminController.cs @@ -92,6 +92,8 @@ public async Task IndexPost(string groupId) { await _notifier.SuccessAsync(H["Site settings updated successfully."]); } + + return RedirectToAction(nameof(Index), new { groupId }); } return View(viewModel);