diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 97567ca29c..2420d11610 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -278,14 +278,14 @@ default.aspx - ASPXCodeBehind + ASPXCodeBehind noNodes.aspx ASPXCodeBehind - noNodes.aspx + noNodes.aspx ASPXCodeBehind diff --git a/src/Umbraco.Web.UI/config/splashes/NoNodes.aspx.cs b/src/Umbraco.Web.UI/config/splashes/NoNodes.aspx.cs index 503c53a9f3..23b810bc67 100644 --- a/src/Umbraco.Web.UI/config/splashes/NoNodes.aspx.cs +++ b/src/Umbraco.Web.UI/config/splashes/NoNodes.aspx.cs @@ -13,8 +13,8 @@ namespace Umbraco.Web.UI.Config.Splashes { base.OnInit(e); - var store = UmbracoContext.Current.RoutingContext.PublishedContentStore; - if (store.HasContent(UmbracoContext.Current)) + var store = UmbracoContext.Current.ContentCache; + if (store.HasContent()) { //if there is actually content, go to the root Response.Redirect("~/"); diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 1672a78861..b083e0b61b 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -478,7 +478,7 @@ ASPXCodeBehind - ASPXCodeBehind