I have a form that when submitted successfully is supposed to redirect to anotherview which is just a thank you page.
I am using;
return RedirectToAction("Thankyou", "Leads");
I have an action i my LeadsController called Thankyou and when i debug my project i am defiantely getting to
return RedirectToAction("Thankyou", "Leads"); but instead of going to the page /Leads/Thankyou (which i can get to if i put this directly in the URL) i keep getting redirected to /account/login?action=Thankyou&controller=Leads instead?
This is my thank you action;
public ActionResult Thankyou()
View Complete Post