title: UrlHelper.Action doesn't map to the area that the controller is in correctly
body: <p><strong>UPDATE 2</strong></p>
  
  <p>Ok - So it looks like my question is changing again slightly :-)</p>
  
  <p>I've realised now that UrlHelper.Action doesn't seem to correctly resolve the URL in any Area unless the area name is explicitly specified. If it's not specified it seems to return whatever area name we're currently in which makes it look like it's working from one part of the site but then the same link in another area resolves to the wrong Area name.</p>
  
  <p>Either I've done something funky to make it do this or I'm not quite understanding how this Action method is meant to work.</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>I can make this work by doing the following:</p>
  
  <pre><code>return helper.Action("add", "product",new {area = "storemanagement"});
  </code></pre>
  
  <p>which changes my question slightly.</p>
  
  <p>How come the MVC routing doesn't disambiguate the controllers with the same name and resolve to the one with the action method specified?</p>
  
  <p><strong>Origional post</strong></p>
  
  <p>Hey everyone,</p>
  
  <p>I've created a helper method on the UrlHelper class and am having a small problem with one of the routes.</p>
  
  <p>Here's the code for the helper method in question:</p>
  
  <pre><code>public static string AddProduct(this UrlHelper helper)
          {
              return helper.Action("add", "product");
          }
  </code></pre>
  
  <p>I basically have two controllers named "product" which are in different areas of the site. One of them in used for browsing of products and the other for management of products. Only one of the product controllers contains an action method "Add".</p>
  
  <p>When I output the value of AddProduct</p>
  
  <pre><code>&lt;%: Url.AddProduct() %&gt;
  </code></pre>
  
  <p>The area name is resolved to the current area I'm browsing and not the correct area for the product controller containing the Add action method.</p>
  
  <p>Is there something I need to set up in the routes? I'm not exactly sure how the routing works with UrlHelper.Action so I dunno if it's possible to do what I'm trying.</p>
  
  <p>Cheers for any help.</p>