mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 16:58:38 +00:00
Rename /modPanel
to /moderation
This commit is contained in:
parent
f04a8000cf
commit
a6f077725a
11 changed files with 32 additions and 39 deletions
|
@ -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");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue