title: ASP.NET MVC Razor Layouts - the url is not getting updated
body: <p>I'm pretty new to ASP.NET MVC so peace if I'm asking something stupid. The problem is, when I'm redirecting from the LogOn method it does not update the URL in the browser properly</p>
  
  <pre><code> public ActionResult LogOn(LogOnModel model, string returnUrl)
          {
            return RedirectToAction("Index", "Menu");
          }
  </code></pre>
  
  <p>and although it renders the content from the Menu/Index view, the url remains </p>
  
  <blockquote>
    <p><a href="http://localhost/App/account/logon#/WMSMobileWeb/account/logon" rel="noreferrer">http://localhost/App/account/logon#/WMSMobileWeb/account/logon</a></p>
  </blockquote>
  
  <p>where it should have been,</p>
  
  <blockquote>
    <p><a href="http://localhost/App/Menu/Index" rel="noreferrer">http://localhost/App/Menu/Index</a></p>
  </blockquote>
  
  <p>I'm using Razor view engine with Layouts and with JQuryMobile. Any idea? </p>
  
  <p>/Bumble Bee</p>