title: Why doesn't Default route work using Html.ActionLink in this case?
body: <p>I have a rather peculiar issue with routing.</p>
  
  <p>Coming back to routing after not having to worry about configuration for it for a year, I am using the default route and ignore route for resources:</p>
  
  <pre><code>routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
  routes.MapRoute(
          "Default",
          // Route name
          "{controller}/{action}/{id}",
  
          // URL with parameters
          new
          {
              controller = "Home",
              action = "Index",
              id = UrlParameter.Optional
          });
  </code></pre>
  
  <p>I have a <code>RulesController</code> with an action for <code>Index</code> and <code>Lorem</code> and a <code>Index.aspx</code>, <code>Lorem.aspx</code> in Views > Rules directory.</p>
  
  <p>I have an ActionLink aimed at Rules/Index on the maseter page:</p>
  
  <pre><code>&lt;li&gt;&lt;div&gt;&lt;%: Html.ActionLink("linkText", "Index", "Rules")%&gt;&lt;/div&gt;&lt;/li&gt;
  </code></pre>
  
  <p>The link is being rendered as <code>http://localhost:12345/Rules/</code> and am getting a 404.</p>
  
  <p>When I type <code>Index</code> into the URL the application routes it to the action.</p>
  
  <p>When I change the default route action from <code>"Index"</code> to <code>"Lorem"</code>, the action link is being rendered as <code>http://localhost:12345/Rules/Index</code> adding the <code>Index</code> as it's no longer on the default route and the application routes to the Index action correctly.</p>
  
  <p>I have used <a href="http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx" rel="nofollow">Phil Haack's Routing Debugger</a>, but entering the url <code>http://localhost:12345/Rules/</code> is causing a 404 using that too.</p>
  
  <p>I think I've covered all of the rookie mistakes, relevant SO questions and basic RTFMs.</p>
  
  <p>I'm assuming that "Rules" isn't any sort of reserved word in routing.
  Other than updating the Routes and debuugging them, what can I look at?</p>