mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
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:
@@ -87,8 +87,7 @@ namespace Orchard.Blogs.Controllers {
|
|||||||
var session = _sessionLocator.For(typeof(BlogRecord));
|
var session = _sessionLocator.For(typeof(BlogRecord));
|
||||||
session.Flush();
|
session.Flush();
|
||||||
|
|
||||||
//TODO: (erikpo) This should redirect to the blog homepage in the admin once that page is created
|
return Redirect(Url.BlogForAdmin(blog.Slug));
|
||||||
return Redirect(Url.BlogsForAdmin());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActionResult Edit(string blogSlug) {
|
public ActionResult Edit(string blogSlug) {
|
||||||
|
Reference in New Issue
Block a user