From 53a3ad24e658fdf3a32df6f748769a14ef732539 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Wed, 26 Sep 2012 13:44:23 +0700 Subject: [PATCH] comments out test surface controllers for now --- src/Umbraco.Web/Mvc/SurfaceController.cs | 52 ++++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/Umbraco.Web/Mvc/SurfaceController.cs b/src/Umbraco.Web/Mvc/SurfaceController.cs index 95aa12a544..0bd4938d0f 100644 --- a/src/Umbraco.Web/Mvc/SurfaceController.cs +++ b/src/Umbraco.Web/Mvc/SurfaceController.cs @@ -6,35 +6,35 @@ using Umbraco.Core; namespace Umbraco.Web.Mvc { - [PluginController("MyTestSurfaceController")] - public class TestSurfaceController : SurfaceController - { - public ActionResult Index() - { - return View(); - //return Content("hello"); - } + //[PluginController("MyTestSurfaceController")] + //public class TestSurfaceController : SurfaceController + //{ + // public ActionResult Index() + // { + // return View(); + // //return Content("hello"); + // } - public ActionResult PostVals(string name) - { - ModelState.AddModelError("name", "bad name!"); - return CurrentUmbracoPage(); - } - } + // public ActionResult PostVals(string name) + // { + // ModelState.AddModelError("name", "bad name!"); + // return CurrentUmbracoPage(); + // } + //} - public class LocalSurfaceController : SurfaceController - { - public ActionResult Index() - { - return View(); - } + //public class LocalSurfaceController : SurfaceController + //{ + // public ActionResult Index() + // { + // return View(); + // } - public ActionResult PostVals([Bind(Prefix = "blah")]string name) - { - ModelState.AddModelError("name", "you suck!"); - return this.RedirectToCurrentUmbracoPage(); - } - } + // public ActionResult PostVals([Bind(Prefix = "blah")]string name) + // { + // ModelState.AddModelError("name", "you suck!"); + // return this.RedirectToCurrentUmbracoPage(); + // } + //} /// /// The base controller that all Presentation Add-in controllers should inherit from