Add basic mod panel

This commit is contained in:
jvyden 2022-06-10 18:38:11 -04:00
parent 1037a6eddb
commit 693f0a3855
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
9 changed files with 84 additions and 22 deletions

View file

@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore;
namespace LBPUnion.ProjectLighthouse.Servers.Website.Controllers.Admin;
[ApiController]
[Route("admin/report/{id:int}")]
[Route("/modPanel/report/{id:int}")]
public class AdminReportController : ControllerBase
{
private readonly Database database;
@ -73,6 +73,6 @@ public class AdminReportController : ControllerBase
await this.database.SaveChangesAsync();
return this.Redirect("~/admin/reports/0");
return this.Redirect("~/modPanel/reports/0");
}
}