mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041419
15 lines
516 B
C#
15 lines
516 B
C#
using Orchard.UI.Navigation;
|
|
|
|
namespace Orchard.Media {
|
|
public class AdminMenu : INavigationProvider {
|
|
public string MenuName { get { return "admin"; } }
|
|
|
|
public void GetNavigation(NavigationBuilder builder) {
|
|
builder.Add("Media", "4",
|
|
menu => menu
|
|
.Add("Manage Folders", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Media" }))
|
|
);
|
|
}
|
|
}
|
|
}
|