This project is read-only.

Orchardredirect to content action edit

Jan 4, 2013 at 9:06 AM

Hi, I have create a Action method in my AdminController. The Action methode call a redirect to an action of the content edit. But Orchrad say that route does not exist.

Is there another way way to create a edit url for edit content ? 

regards hacky



[HttpGet, ActionName("Edit")]
public ActionResult Edit(int id) {
      Log.Debug("Edit Controller called by GroupAdminView");
      return RedirectToAction("Edit", "Admin" , new { id = id, area = "Orchard.Core"});