After talks with morten and stephane, this renames
DocumentNotFoundHandler -> PublishedContentNotFoundHandler
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Umbraco.Web.Routing
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets executed when no document can be found in Umbraco
|
/// Gets executed when no document can be found in Umbraco
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class DocumentNotFoundHandler : IHttpHandler
|
internal class PublishedContentNotFoundHandler : IHttpHandler
|
||||||
{
|
{
|
||||||
public void ProcessRequest(HttpContext context)
|
public void ProcessRequest(HttpContext context)
|
||||||
{
|
{
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
<Compile Include="Mvc\ViewDataContainerExtensions.cs" />
|
<Compile Include="Mvc\ViewDataContainerExtensions.cs" />
|
||||||
<Compile Include="DefaultPublishedContentStore.cs" />
|
<Compile Include="DefaultPublishedContentStore.cs" />
|
||||||
<Compile Include="PublishedContentStoreResolver.cs" />
|
<Compile Include="PublishedContentStoreResolver.cs" />
|
||||||
<Compile Include="Routing\DocumentNotFoundHandler.cs" />
|
<Compile Include="Routing\PublishedContentNotFoundHandler.cs" />
|
||||||
<Compile Include="IPublishedContentStore.cs" />
|
<Compile Include="IPublishedContentStore.cs" />
|
||||||
<Compile Include="Models\XmlPublishedContent.cs" />
|
<Compile Include="Models\XmlPublishedContent.cs" />
|
||||||
<Compile Include="Models\XmlDocumentProperty.cs" />
|
<Compile Include="Models\XmlDocumentProperty.cs" />
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ namespace Umbraco.Web
|
|||||||
|
|
||||||
if (!docreq.HasNode)
|
if (!docreq.HasNode)
|
||||||
{
|
{
|
||||||
httpContext.RemapHandler(new DocumentNotFoundHandler());
|
httpContext.RemapHandler(new PublishedContentNotFoundHandler());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user