Rename /modPanel to /moderation

This commit is contained in:
jvyden 2022-06-17 19:50:01 -04:00
commit a6f077725a
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
11 changed files with 32 additions and 39 deletions

View file

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