asp.net mvc 3 - Weird behaviour of RedirectToAction -


I am developing portal in MVC 3. The controller with the three methods ( MyController )> Add (receive and post versesion) and index and part of the add method:

  [HTTP Post] Returns the Redirect Rectification ("Index") {{...} Public Virtual RedirectorRuntReltAct Item (item item); }   

Simple? I do not have a picture :) The item has been properly added and the URL looks when it is redirected:

microcontroller / index

and not:

MySite / MyController / Index

And of course it is bad news that this situation is only one place in one place in the entire portal. What is wrong?

Whatever you get as a return, it is relative path relative to its current path. / P>

Comments