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:
Suha Can
2010-02-10 13:23:11 -08:00
parent bce5e6ec0e
commit 015b26928f
10 changed files with 156 additions and 2 deletions

View File

@@ -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());
}
}
}