I have two method signatures at the moment.
public ActionResult Edit(bool? failed)
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Update(FormCollection collection)
In the Update method when the password update fails I want to return to the Edit action with failed == true. However using the line
return RedirectToAction("Edit", true);
doesn't seem to achieve this. (I do end up at the Edit Action but the bool value is null.) How else can I redirect to an action and still have the bool value hold?
Thanks