I've recently updated our MVC 2 project at work to use Areas however I'm having a little problem with the RedirectToAction
method.
We still have some of our controllers etc outside of our Areas. These controllers include the Home controller etc.
How do I do a RedirectToAction
from inside an Area to a controller outside of Areas.
I thought something like the following might work but doesn't:
return RedirectToAction("Index", "Home", new { area = "" });
or
return RedirectToAction("Index", "Home", new { area = null });