mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
"fixing" blog post edit
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043402
This commit is contained in:
@@ -163,7 +163,7 @@ namespace Orchard.Blogs.Controllers {
|
||||
return new NotFoundResult();
|
||||
|
||||
var model = new BlogPostEditViewModel { Blog = blog, Post = post };
|
||||
model.ItemView = _contentManager.UpdateEditorViewModel(model.Post.ContentItem, null, this);
|
||||
model.ItemView = _contentManager.UpdateEditorViewModel(model.Post, null, this);
|
||||
|
||||
IValueProvider values = input.ToValueProvider();
|
||||
TryUpdateModel(model, values);
|
||||
|
Reference in New Issue
Block a user