Menus are now custom built, using AJAX loading of links where acceptable.

This commit is contained in:
Mark McDowall 2011-08-05 19:04:35 -07:00
parent 3d784b828d
commit aa82264774
16 changed files with 130 additions and 111 deletions

View file

@ -26,16 +26,16 @@ namespace NzbDrone.Web.Controllers
return View();
}
public ActionResult Trim()
public JsonResult Trim()
{
_historyProvider.Trim();
return RedirectToAction("Index");
return new JsonResult { Data = "ok" };
}
public ActionResult Purge()
public JsonResult Purge()
{
_historyProvider.Purge();
return RedirectToAction("Index");
return new JsonResult { Data = "ok" };
}
[GridAction]