diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index f9d60fbacb..02ddb3454b 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -2608,8 +2608,8 @@ - - + + diff --git a/src/Umbraco.Web/Mvc/RenderRouteHandler.cs b/src/Umbraco.Web/Mvc/RenderRouteHandler.cs index 1ebfebf1e4..56c4059f95 100644 --- a/src/Umbraco.Web/Mvc/RenderRouteHandler.cs +++ b/src/Umbraco.Web/Mvc/RenderRouteHandler.cs @@ -305,8 +305,9 @@ namespace Umbraco.Web.Mvc () => controllerType.FullName, () => typeof(IRenderMvcController).FullName, () => typeof(ControllerBase).FullName); - //exit as we cannnot route to the custom controller, just route to the standard one. - return def; + + //we cannot route to this custom controller since it is not of the correct type so we'll continue with the defaults + // that have already been set above. } }