mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Menus are now custom built, using AJAX loading of links where acceptable.
This commit is contained in:
parent
3d784b828d
commit
aa82264774
16 changed files with 130 additions and 111 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue