mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00

- MenuPart/record - Permissions and AdminMenu for the core nav package as well as some placeholders for the upcoming work. --HG-- branch : dev
22 lines
603 B
C#
22 lines
603 B
C#
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());
|
|
}
|
|
}
|
|
}
|