Skip to content

Commit

Permalink
Make sure we return a 404 status code
Browse files Browse the repository at this point in the history
  • Loading branch information
TimGeyssens committed Sep 21, 2015
1 parent 56e1586 commit 6b7549a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PageNotFoundManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
2 changes: 1 addition & 1 deletion PageNotFoundManager/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Startup : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
ContentFinderResolver.Current.InsertTypeBefore<ContentFinderByNotFoundHandlers, PageNotFoundContentFinder>();
ContentLastChanceFinderResolver.Current.SetFinder(new PageNotFoundContentFinder());
TreeControllerBase.MenuRendering += TreeControllerBase_MenuRendering;
}

Expand Down

0 comments on commit 6b7549a

Please sign in to comment.