From 845d06fc4cc82d7246bcf1de2a39022bb253a968 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 5 Sep 2025 14:32:22 +0200 Subject: [PATCH] refactor(HomeController): add HttpGet-attribute to Error404 (fallback) endpoint --- EnvelopeGenerator.Web/Controllers/HomeController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EnvelopeGenerator.Web/Controllers/HomeController.cs b/EnvelopeGenerator.Web/Controllers/HomeController.cs index 379e9489..18159ca3 100644 --- a/EnvelopeGenerator.Web/Controllers/HomeController.cs +++ b/EnvelopeGenerator.Web/Controllers/HomeController.cs @@ -530,5 +530,6 @@ public class HomeController : ViewControllerBase [HttpGet("/lang")] public IActionResult GetLanguages() => Ok(_cultures.Languages); + [HttpGet("Error404")] public IActionResult Error404() => this.ViewError404(); } \ No newline at end of file