Fix namespaces when building MB models
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Umbraco.Cms.Infrastructure.ModelsBuilder.Building
|
||||
"Umbraco.Cms.Core.Models.PublishedContent",
|
||||
"Umbraco.Web.PublishedCache", // Todo: Remove/Edit this once namespaces has been aligned.
|
||||
"Umbraco.Cms.Core.PublishedCache",
|
||||
"Umbraco.Cms.ModelsBuilder.Embedded",
|
||||
"Umbraco.Cms.Infrastructure.ModelsBuilder",
|
||||
"Umbraco.Cms.Core",
|
||||
"Umbraco.Core", // TODO: Remove once namespace is gone, after which BuilderTests needs to be adjusted.
|
||||
"Umbraco.Extensions"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
using Umbraco.Cms.Core.Composing;
|
||||
using Umbraco.Cms.Core.Dashboards;
|
||||
|
||||
namespace Umbraco.Cms.Infrastructure.ModelsBuilder
|
||||
{
|
||||
[Weight(40)]
|
||||
public class ModelsBuilderDashboard : IDashboard
|
||||
{
|
||||
public string Alias => "settingsModelsBuilder";
|
||||
|
||||
public string[] Sections => new [] { "settings" };
|
||||
|
||||
public string View => "views/dashboard/settings/modelsbuildermanagement.html";
|
||||
|
||||
public IAccessRule[] AccessRules => Array.Empty<IAccessRule>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user