Fixed a minor issue with the return url from editing a blog and change the port for the local web development server to be a specific port number.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042245
This commit is contained in:
ErikPorter
2009-11-25 22:39:43 +00:00
parent 59504cea49
commit 17e2f9f5ed
2 changed files with 12 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ namespace Orchard.Blogs.Controllers {
_notifier.Information(T("Blog information updated"));
//TODO: (erikpo) Since the model isn't actually updated yet and it's possible the slug changed I'm getting the slug from input. Lame?!?!
return Redirect(Url.BlogEdit(values.GetValue(ControllerContext, "Slug").RawValue as string));
return Redirect(Url.Blogs());
}
bool IUpdateModel.TryUpdateModel<TModel>(TModel model, string prefix, string[] includeProperties, string[] excludeProperties) {