From 6bd005775de5dc87ecd69ab9571e846545869a9f Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Tue, 2 Oct 2012 01:43:59 +0500 Subject: [PATCH] After talks with morten and stephane, this renames DocumentNotFoundHandler -> PublishedContentNotFoundHandler --- ...entNotFoundHandler.cs => PublishedContentNotFoundHandler.cs} | 2 +- src/Umbraco.Web/Umbraco.Web.csproj | 2 +- src/Umbraco.Web/UmbracoModule.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/Umbraco.Web/Routing/{DocumentNotFoundHandler.cs => PublishedContentNotFoundHandler.cs} (92%) diff --git a/src/Umbraco.Web/Routing/DocumentNotFoundHandler.cs b/src/Umbraco.Web/Routing/PublishedContentNotFoundHandler.cs similarity index 92% rename from src/Umbraco.Web/Routing/DocumentNotFoundHandler.cs rename to src/Umbraco.Web/Routing/PublishedContentNotFoundHandler.cs index 2e86960946..cda85667a2 100644 --- a/src/Umbraco.Web/Routing/DocumentNotFoundHandler.cs +++ b/src/Umbraco.Web/Routing/PublishedContentNotFoundHandler.cs @@ -5,7 +5,7 @@ namespace Umbraco.Web.Routing /// /// Gets executed when no document can be found in Umbraco /// - internal class DocumentNotFoundHandler : IHttpHandler + internal class PublishedContentNotFoundHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 3e831fe4c5..1c6acc0197 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -323,7 +323,7 @@ - + diff --git a/src/Umbraco.Web/UmbracoModule.cs b/src/Umbraco.Web/UmbracoModule.cs index ade88545ec..5f84c387f6 100644 --- a/src/Umbraco.Web/UmbracoModule.cs +++ b/src/Umbraco.Web/UmbracoModule.cs @@ -141,7 +141,7 @@ namespace Umbraco.Web if (!docreq.HasNode) { - httpContext.RemapHandler(new DocumentNotFoundHandler()); + httpContext.RemapHandler(new PublishedContentNotFoundHandler()); return; }