mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041931
16 lines
671 B
C#
16 lines
671 B
C#
using Orchard.UI.Navigation;
|
|
|
|
namespace Orchard.Sandbox {
|
|
public class AdminMenu : INavigationProvider {
|
|
public string MenuName { get { return "admin"; } }
|
|
|
|
public void GetNavigation(NavigationBuilder builder) {
|
|
builder.Add("Sandbox", "9",
|
|
menu => menu
|
|
.Add("List Sandbox Pages", "1.0", item => item.Action("Index", "Page", new { area = "Orchard.Sandbox" }))
|
|
.Add("Create Sandbox Pages", "1.1", item => item.Action("Create", "Page", new { area = "Orchard.Sandbox" }))
|
|
);
|
|
}
|
|
}
|
|
}
|