Remove home controller, hide false positive resharper warning

This commit is contained in:
2012-12-17 13:28:07 -05:00
parent ca2bf00f32
commit 67f2ccff4b
2 changed files with 3 additions and 13 deletions
-12
View File
@@ -1,12 +0,0 @@
using System.Web.Mvc;
namespace MileageTraker.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionResult About()
{
return View();
}
}
}
+3 -1
View File
@@ -10,9 +10,11 @@
<link href="@Url.Content("~/Content/VehicleColors.css")" rel="stylesheet" type="text/css" />
}
@* ReSharper disable Mvc.ActionNotResolved *@
@using (Html.BeginForm("Action", "CreateLog", FormMethod.Post))
{
<fieldset>
@* ReSharper restore Mvc.ActionNotResolved *@
<fieldset>
<legend>@ViewBag.Title</legend>
<p class="alert">Please <strong>confirm</strong> - entry not complete until <strong>confirm</strong> clicked</p>
@if (Model.Miles == 0)