moves binding redirects to app pre init

This commit is contained in:
Shannon
2017-03-21 20:41:07 +11:00
parent 1b17f4e9df
commit 5a953761b0
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ using System.Text.RegularExpressions;
using System.Web;
using Umbraco.Core;
[assembly: PreApplicationStartMethod(typeof(BindingRedirects), "Initialize")]
namespace Umbraco.Core
{
/// <summary>

View File

@@ -49,8 +49,6 @@ namespace Umbraco.Core
LogHelper.Error<UmbracoApplicationBase>(msg, exception);
};
BindingRedirects.Initialize();
//boot up the application
GetBootManager()
.Initialize()