Hooked up remove BlogPost in the admin.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045314
This commit is contained in:
ErikPorter
2010-01-12 23:48:09 +00:00
parent adde3ef6ea
commit 706bd7f2e4
4 changed files with 26 additions and 17 deletions

View File

@@ -181,7 +181,7 @@ namespace Orchard.Blogs.Controllers {
if (blog == null)
return new NotFoundResult();
BlogPost post = _blogPostService.Get(blog, postSlug);
BlogPost post = _blogPostService.Get(blog, postSlug, VersionOptions.Latest);
if (post == null)
return new NotFoundResult();