Updated the sortOrder also in the respective controllers, as well as updating to the new standards of string interpolation in those controllers.
This commit is contained in:
@@ -7,7 +7,7 @@ using Constants = Umbraco.Core.Constants;
|
||||
namespace Umbraco.Web.Trees
|
||||
{
|
||||
[UmbracoTreeAuthorize(Constants.Trees.Languages)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Languages, null, sortOrder: 5)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Languages, null, sortOrder: 11)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
public class LanguageTreeController : TreeController
|
||||
@@ -33,7 +33,7 @@ namespace Umbraco.Web.Trees
|
||||
var root = base.CreateRootNode(queryStrings);
|
||||
|
||||
//this will load in a custom UI instead of the dashboard for the root node
|
||||
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Settings, Constants.Trees.Languages, "overview");
|
||||
root.RoutePath = $"{Constants.Applications.Settings}/{Constants.Trees.Languages}/overview";
|
||||
root.Icon = "icon-globe";
|
||||
root.HasChildren = false;
|
||||
root.MenuUrl = null;
|
||||
|
||||
Reference in New Issue
Block a user