refactor(HomeController): add HttpGet-attribute to Error404 (fallback) endpoint

This commit is contained in:
tekh 2025-09-05 14:32:22 +02:00
parent 59105caffc
commit 845d06fc4c

View File

@ -530,5 +530,6 @@ public class HomeController : ViewControllerBase
[HttpGet("/lang")]
public IActionResult GetLanguages() => Ok(_cultures.Languages);
[HttpGet("Error404")]
public IActionResult Error404() => this.ViewError404();
}