mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
- Remove Sandbox Admin menu, the experimental module is reachable via http://site/approot/sandbox/page
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041953
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
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" }))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -61,7 +61,6 @@
|
|||||||
<Reference Include="System.Web.Mobile" />
|
<Reference Include="System.Web.Mobile" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AdminMenu.cs" />
|
|
||||||
<Compile Include="Controllers\HomeController.cs" />
|
<Compile Include="Controllers\HomeController.cs" />
|
||||||
<Compile Include="Controllers\PageController.cs" />
|
<Compile Include="Controllers\PageController.cs" />
|
||||||
<Compile Include="Models\SandboxPage.cs" />
|
<Compile Include="Models\SandboxPage.cs" />
|
||||||
|
Reference in New Issue
Block a user