Move /developer_videos to a DeveloperController because it shouldn't be under /news.

This commit is contained in:
Michael VanOverbeek 2021-10-31 13:29:41 -04:00
parent 37abf75071
commit ec43fd9ed7
2 changed files with 16 additions and 6 deletions

View 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();
}
}
}

View file

@ -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()
{