System/Indexers moved to DataTables

This commit is contained in:
Mark McDowall 2012-02-09 22:26:48 -08:00
parent 185edfb7f7
commit f21f3517cf
3 changed files with 48 additions and 37 deletions

View file

@ -65,7 +65,10 @@ namespace NzbDrone.Web.Controllers
public ActionResult Indexers()
{
return View(_indexerProvider.All());
var indexers = _indexerProvider.All();
var serialized = new JavaScriptSerializer().Serialize(indexers);
return View((object)serialized);
}
public ActionResult Config()