Rename on controller action did not update usage inside of RedirectToAction results

I had a controller action

    [HttpPost]
        public ActionResult Edit3(EditViewModel model)
        {
                ....
            return RedirectToAction("Edit3", new {id = model.Id});
        }

I renamed Edit3 to Edit and checked off to rename overloads. When it finished I was left with

    [HttpPost]
         public ActionResult Edit(EditViewModel model)
         {
                ....
            return RedirectToAction("Edit3", new {id = model.Id});
         }

1 comment

Hello Chris,

I couldn't reproduce this behavior with the latest build. Which build are
you using? Is this behavior reproducible for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I had a controller action


public ActionResult Edit3(EditViewModel model)
{
....
return RedirectToAction("Edit3", new {id = model.Id});
}
I renamed Edit3 to Edit and checked off to rename overloads. When it
finished I was left with


public ActionResult Edit(EditViewModel model)
{
....
return RedirectToAction("Edit3", new {id = model.Id});
}
---
Original message URL:
http://devnet.jetbrains.net/message/5303143#5303143



0

Please sign in to leave a comment.