@ -1,3 +1,7 @@
2015-10-18 Paul Schneider <paul@pschneider.fr>
* BlogsController.cs: Fixes the redirection after bill edition
* App.master:
@ -295,7 +295,7 @@ namespace Yavsc.Controllers
model.Id = BlogManager.Post (model.Author, model.Title, model.Content, model.Visible, model.AllowedCircles);
if (model.Photo != null)
BlogManager.UpdatePostPhoto (model.Id, model.Photo);
return RedirectToAction ("Title", new { id = model.Title });
return RedirectToAction ("Title", new { title = model.Title });
}
ViewData ["AllowedCircles"] =
CircleManager.DefaultProvider.List (