Creating a content type redirects you to the Add Parts screen.

--HG--
branch : dev
This commit is contained in:
Dave Reed
2011-03-23 20:42:26 -07:00
parent aa63b683df
commit b428051ab3

View File

@@ -73,7 +73,7 @@ namespace Orchard.ContentTypes.Controllers {
Services.Notifier.Information(T("The \"{0}\" content type has been created.", typeViewModel.DisplayName));
return RedirectToAction("Edit", new { id = typeViewModel.Name });
return RedirectToAction("AddPartsTo", new { id = typeViewModel.Name });
}
public ActionResult ContentTypeName(string displayName) {