mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-14 13:52:28 +00:00
Add basic mod panel
This commit is contained in:
parent
1037a6eddb
commit
693f0a3855
9 changed files with 84 additions and 22 deletions
|
@ -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");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue