tags:

views:

179

answers:

2

In a Action, I am calling

RedirectToAction("login", new { test = "1" });

And the page doesn't seem to be redirecting. The action "login" is in the same controller.

What could the issue be?

+12  A: 

You should use

return RedirectToAction(...
Jan Jongboom
+1  A: 

You have to use return the RedirectToAction.