title: html.actionlink not creating right links
body: <p>I have my routes configured like this in my global.asax</p>
  
  <pre><code>  routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
             "poems-by-profile", // Route name
             "profile/{id}/{name}/poems", // URL with parameters
             new { controller = "poems", action = "Index", id = "", name = "" } // Parameter defaults
          );
  
          routes.MapRoute(
             "profile", // Route name
             "profile/{id}/{name}", // URL with parameters
             new { controller = "profile", action = "Index", id = "", name = "" } // Parameter defaults
         );
  
  
          routes.MapRoute(
              "Default", // Route name
              "{controller}/{action}/{id}/{name}", // URL with parameters
              new { controller = "Home", action = "Index", id = UrlParameter.Optional, name = UrlParameter.Optional } // Parameter defaults
          );
  </code></pre>
  
  <p>Here are my two controllers </p>
  
  <pre><code>public class ProfileController : BaseController
  {
      public  ActionResult Index(int id, string name)
      {
          return View();
      }
  }
  
  public class PoemsController : BaseController
  {
  
      public ActionResult Index(int id, string name)
      {
          return View();
      }
  }
  </code></pre>
  
  <p>Somewhere on home page, I have html action link like this </p>
  
  <pre><code>@Html.ActionLink("Profile", "index", "Profile", new { id = 1, name = "someuser" })
  
  @Html.ActionLink("Poems by ", "index", "poems", new { id = 1, name = "someuser" })
  </code></pre>
  
  <p>I am expecting two urls like </p>
  
  <pre><code>http://localhost/profile/1/someuser
  http://localhost/profile/1/someuser/poems
  </code></pre>
  
  <p>But it is not creating these urls. </p>
  
  <p>Am I doing something wrong. </p>
  
  <p>Help will be appreciated. </p>
  
  <p>//Updating my question here </p>
  
  <p>Actually this one works </p>
  
  <pre><code>@Html.ActionLink("Profile", "index", "Profile", new { id = 1, name = "someuser" },null)
  
  @Html.ActionLink("Poems by ", "index", "poems", new { id = 1, name = "some user" },null)
  </code></pre>
  
  <p>Passing null as last parameter. </p>
  
  <p>Dont know why, but it works.</p>
  
  <p>Cheers</p>
  
  <p>Parminder</p>