mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Menus are now custom built, using AJAX loading of links where acceptable.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user