Migrated RenderNoContentController + related (#9309)
* Migrated RenderNoContentController + related Signed-off-by: Bjarke Berg <mail@bergmania.dk> * Fix after MSDI Signed-off-by: Bjarke Berg <mail@bergmania.dk> * Update src/Umbraco.Web.UI/Umbraco.Web.UI.csproj Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Removing connection string * Fixed tests after moving endpoint registration Signed-off-by: Bjarke Berg <mail@bergmania.dk> Co-authored-by: Elitsa Marinovska <elm@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
This commit is contained in:
@@ -49,7 +49,6 @@ namespace Umbraco.Web.BackOffice.Routing
|
||||
case RuntimeLevel.Run:
|
||||
|
||||
MapMinimalBackOffice(endpoints);
|
||||
endpoints.MapUmbracoRoute<PreviewController>(_umbracoPathSegment, Constants.Web.Mvc.BackOfficeArea, null);
|
||||
AutoRouteBackOfficeControllers(endpoints);
|
||||
break;
|
||||
case RuntimeLevel.BootFailed:
|
||||
|
||||
@@ -5,6 +5,7 @@ using Umbraco.Core;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.Configuration.Models;
|
||||
using Umbraco.Core.Hosting;
|
||||
using Umbraco.Web.BackOffice.Controllers;
|
||||
using Umbraco.Web.BackOffice.SignalR;
|
||||
using Umbraco.Web.Common.Routing;
|
||||
|
||||
@@ -37,6 +38,7 @@ namespace Umbraco.Web.BackOffice.Routing
|
||||
break;
|
||||
case RuntimeLevel.Run:
|
||||
endpoints.MapHub<PreviewHub>(GetPreviewHubRoute());
|
||||
endpoints.MapUmbracoRoute<PreviewController>(_umbracoPathSegment, Constants.Web.Mvc.BackOfficeArea, null);
|
||||
break;
|
||||
case RuntimeLevel.BootFailed:
|
||||
case RuntimeLevel.Unknown:
|
||||
|
||||
Reference in New Issue
Block a user