Fixed up a redirect that was wrong when creating a blog.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043126
This commit is contained in:
ErikPorter
2009-12-03 23:26:10 +00:00
parent b55034fa50
commit e24cd929d4

View File

@@ -87,8 +87,7 @@ namespace Orchard.Blogs.Controllers {
var session = _sessionLocator.For(typeof(BlogRecord));
session.Flush();
//TODO: (erikpo) This should redirect to the blog homepage in the admin once that page is created
return Redirect(Url.BlogsForAdmin());
return Redirect(Url.BlogForAdmin(blog.Slug));
}
public ActionResult Edit(string blogSlug) {