mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
A little cleanup for the Setting admin menu group
--HG-- branch : dev
This commit is contained in:
@@ -20,7 +20,8 @@ namespace Orchard.Core.Settings {
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) {
|
||||
builder.Add(T("Settings"), "50",
|
||||
menu => menu.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
|
||||
menu => menu.LinkToFirstChild(false)
|
||||
.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
|
||||
.Permission(StandardPermissions.SiteOwner)));
|
||||
|
||||
var site = _siteService.GetSiteSettings();
|
||||
|
Reference in New Issue
Block a user