title: How to specify route options to specific controllers in ASP.NET MVC 5
body: <p>I would like to suppress the controller from the route, and it worked fine using  this:</p>
  
  <pre><code>         routes.MapRoute(
              name: "HomePages",
              url: "{action}",
              defaults: new { controller = "Home", action = "Index" }
              );
  </code></pre>
  
  <p>The problem is when doing the same for a different controller like "Account", the first option only will take effect :</p>
  
  <pre><code>            routes.MapRoute(
       name: "LoginRoute",
       url: "{action}",
       defaults: new { controller = "Account", action = "Login" }
       );
  </code></pre>
  
  <p>My objective is to hide the controller from the route, so i can directly access mysite.com/login and mysite.com/index, how to achieve that when login is under Account controller and index is under Home controller?  </p>
  
  <p>How to specify the second option for the Account actions, and keep the first for the Home actions?</p>