mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 12:53:33 +08:00
More Navigation backend work.
- MenuPart/record - Permissions and AdminMenu for the core nav package as well as some placeholders for the upcoming work. --HG-- branch : dev
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Web.Mvc;
|
||||
using Orchard.Core.Navigation.ViewModels;
|
||||
using Orchard.Localization;
|
||||
|
||||
namespace Orchard.Core.Navigation.Controllers {
|
||||
[ValidateInput(false)]
|
||||
public class AdminController : Controller {
|
||||
public IOrchardServices Services { get; private set; }
|
||||
|
||||
public AdminController(IOrchardServices services) {
|
||||
Services = services;
|
||||
T = NullLocalizer.Instance;
|
||||
}
|
||||
|
||||
public Localizer T { get; set; }
|
||||
|
||||
public ActionResult Index() {
|
||||
return View(new NavigationIndexViewModel());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user