public ActionResult Edit([ModelBinder(typeof(TypeConverterModelBinder))] ContentPath path, FormCollection formValues) { var contentInfo = GetContentOrNewRoot(path); return(UpdateContent( contentInfo, s => path.ReplaceLastSegment(s), newPath => RedirectToAction("Edit", new { path = newPath }) )); }