Route fixes

This commit is contained in:
unknown
2015-07-26 15:45:35 -06:00
parent 33b4358696
commit e123884a14
3 changed files with 12 additions and 10 deletions

View File

@@ -14,7 +14,6 @@ using System.Web.Http;
namespace Jackett.Controllers
{
[RoutePrefix("API")]
[AllowAnonymous]
public class APIController : ApiController
{
@@ -31,7 +30,6 @@ namespace Jackett.Controllers
cacheService = c;
}
[Route("Call")]
[HttpGet]
public async Task<HttpResponseMessage> Call(string indexerID)
{
@@ -114,11 +112,6 @@ namespace Jackett.Controllers
};
}
[Route("GetCache")]
[HttpGet]
public List<TrackerCacheResult> GetCache()
{
return cacheService.GetCachedResults();
}
}
}