Redirect Change

This commit is contained in:
2025-08-22 08:30:34 +02:00
parent 52f9e0c8b8
commit c9d713b0c8

View File

@@ -6,7 +6,7 @@ using Watcher.Models;
using Watcher.ViewModels;
[Authorize]
[Route("[controller]")]
[Route("Server")]
public class ServerController : Controller
{
private readonly AppDbContext _context;
@@ -56,7 +56,7 @@ public class ServerController : Controller
_logger.LogInformation("Neuer Server erstellt: {server}", server.Name);
return RedirectToAction(nameof(Overview));
return RedirectToAction("Overview", "Server");
}
[HttpPost("Delete")]