mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-31 05:02:27 +00:00
Move /developer_videos to a DeveloperController because it shouldn't be under /news.
This commit is contained in:
parent
37abf75071
commit
ec43fd9ed7
2 changed files with 16 additions and 6 deletions
16
ProjectLighthouse/Controllers/DeveloperController.cs
Normal file
16
ProjectLighthouse/Controllers/DeveloperController.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("LITTLEBIGPLANETPS3_XML/")]
|
||||
public class DeveloperController : Controller
|
||||
{
|
||||
[HttpGet("/developer_videos")]
|
||||
public IActionResult DeveloperVideos()
|
||||
{
|
||||
return this.Ok();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,12 +10,6 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
[Produces("text/xml")]
|
||||
public class NewsController : ControllerBase
|
||||
{
|
||||
[HttpGet("/developer_videos")]
|
||||
public async Task<IActionResult> DeveloperVideos()
|
||||
{
|
||||
return Ok();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult Get()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue