route from app base route

vnext
Paul Schneider 8 years ago
parent f62abda369
commit 2820d7e338
2 changed files with 2 additions and 2 deletions

@ -7,7 +7,7 @@ using Yavsc.Models;
namespace Yavsc.Controllers
{
[Produces("application/json")]
[Route("api/PostRateApi")]
[Route("~/api/PostRateApi")]
public class PostRateApiController : Controller
{
private ApplicationDbContext _context;

@ -8,7 +8,7 @@ using Yavsc.Models;
namespace Yavsc.Controllers
{
[Produces("application/json")]
[Route("api/PostTagsApi")]
[Route("~/api/PostTagsApi")]
public class PostTagsApiController : Controller
{
private ApplicationDbContext _context;

Loading…