From aba4a9b07cffbce456667bccf8c234cd23a740cd Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Sun, 28 Apr 2013 16:15:19 -1000 Subject: [PATCH] oops, removed test code --- src/Umbraco.Web/UmbracoApplication.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/Umbraco.Web/UmbracoApplication.cs b/src/Umbraco.Web/UmbracoApplication.cs index 47160eb695..6561c6f5ab 100644 --- a/src/Umbraco.Web/UmbracoApplication.cs +++ b/src/Umbraco.Web/UmbracoApplication.cs @@ -8,30 +8,11 @@ using System.Web.Hosting; using System.Web.Mvc; using Umbraco.Core; using Umbraco.Core.Logging; -using Umbraco.Web.Mvc; using Umbraco.Web.Routing; using umbraco.businesslogic; namespace Umbraco.Web { - public class CustomRenderController : RenderMvcController - { - public override ActionResult Index(Models.RenderModel model) - { - HttpContext.Response.ContentType = "text/plain"; - return base.Index(model); - } - } - - public class CustomApplicationEventHandler : ApplicationEventHandler - { - protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) - { - DefaultRenderMvcControllerResolver.Current.SetDefaultControllerType(typeof(CustomRenderController)); - base.ApplicationStarting(umbracoApplication, applicationContext); - } - } - /// /// The Umbraco global.asax class ///