From bd84c43ab653f3bf50e2b9c0d470c403d66779a6 Mon Sep 17 00:00:00 2001 From: linuxct Date: Tue, 14 Jul 2020 12:47:02 +0200 Subject: [PATCH] Fix RedirectToAction --- OD.WebApplication/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OD.WebApplication/Controllers/HomeController.cs b/OD.WebApplication/Controllers/HomeController.cs index abef349..24544a3 100644 --- a/OD.WebApplication/Controllers/HomeController.cs +++ b/OD.WebApplication/Controllers/HomeController.cs @@ -85,7 +85,7 @@ namespace OD.WebApplication.Controllers return new ErrorMessageResult(new ErrorResult { Exception = ex }); } - return Ok(); + return RedirectToAction("Index"); } [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]