mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -197,13 +197,9 @@ namespace Orchard.Core.Contents.Controllers {
|
||||
}
|
||||
|
||||
ActionResult CreatableTypeList() {
|
||||
var list = Shape.List();
|
||||
list.AddRange("CreatableTypeList", GetCreatableTypes());
|
||||
var viewModel = Shape.ViewModel(ContentTypes: GetCreatableTypes());
|
||||
|
||||
var viewModel = Shape.ViewModel()
|
||||
.ContentTypes(list);
|
||||
|
||||
return View(viewModel);
|
||||
return View("CreatableTypeList", viewModel);
|
||||
}
|
||||
|
||||
public ActionResult Create(string id) {
|
||||
|
Reference in New Issue
Block a user