Url does not change in display when redirecting
- by zsharp
action: User/Details
View: Details
In my 'Details' view, a user can click on an actionlink that goes to
the action :User/UserBehavior From which I again return a "Details" View.
the url shows http://User/UserBehavior
If I return redirectToAction to the Details action, I still get the "UserBehavior" action in the url.
how do I redirect and present the new url of the action? isnt that the way its supposed to be?
TO CLARIFY: WHEN YOU USE REDIRECTTOACTION, SHOULD THE URL IN THE BROWSER SHOW THE ORIGINAL ACTION OR THE ACTION YOU REDIRECTED TO?