Added HealthController to web project for IIS Ping to use

This commit is contained in:
kay.one 2011-05-18 20:57:03 -07:00
parent b4ea8838d2
commit 0e191f6a44
2 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace NzbDrone.Web.Controllers
{
public class HealthController : Controller
{
//
// GET: /Health/
[HttpGet]
public JsonResult Index()
{
return Json("OK", JsonRequestBehavior.AllowGet);
}
}
}