title: Set default action (instead of index) for controller in ASP.NET MVC 3
body: <p>I have a controller called <code>Dashboard</code> with 3 actions: <code>Summary</code>, <code>Details</code>, and <code>Status</code>, none of which take an ID or any other parameters. I want the URL <code>/Dashboard</code> to route to the <code>Summary</code> action of the <code>Dashboard</code> controller, as <code>/Dashboard/Summary</code> does, but I can't figure out the correct way to add the route. In <code>Global.asax.cs</code>, I have the following:</p>
  
  <pre><code>routes.MapRoute(
      "Default", // Route name
      "{controller}/{action}/{id}", // URL with parameters
      new {controller = "Home", action = "Index", id = UrlParameter.Optional} // Parameter defaults
      );
  
  routes.MapRoute(
      "/Dashboard",
      "Dashboard",
      new { controller = "Dashboard", action = "Summary" }
      );
  </code></pre>
  
  <p>For the second part, I've also tried:</p>
  
  <pre><code>routes.MapRoute(
      "/Dashboard",
      "{controller}",
      new { controller = "Dashboard", action = "Summary" }
      );
  </code></pre>
  
  <p>and</p>
  
  <pre><code>routes.MapRoute(
      "/Dashboard",
      "{controller}",
      new { action = "Summary" }
      );
  </code></pre>
  
  <p>but I always get a 404 when trying to access <code>/Dashboard</code>. I'm pretty sure I'm missing something about the format for the parameters to <code>MapRoute</code>, but I don't know what it is...</p>