title: MVC3 Custom Route to hide action
body: <p>I have a routing question that i have been tinkering with but have been unsuccessful in trying to get it to work.</p>
  
  <p>Basically, i have the default route in my global.asax file and i have the following controller with the following  actions:</p>
  
  <p>Controller = People
  Actions = Index &amp; Search</p>
  
  <p>When you visit the People page you get a search box, when you run a search, the form GETS to:</p>
  
  <p><a href="http://mysite/people/search?filter=a&amp;searchType=IdentityCode&amp;searchOption=StartsWith" rel="nofollow">http://mysite/people/search?filter=a&amp;searchType=IdentityCode&amp;searchOption=StartsWith</a></p>
  
  <p>What i would like to do is, drop the <strong>search</strong> in the url, so it will look something like this:</p>
  
  <p><a href="http://mysite/people?filter=a&amp;searchtype=IdentityCode&amp;searchOption=StartsWith" rel="nofollow">http://mysite/people?filter=a&amp;searchtype=IdentityCode&amp;searchOption=StartsWith</a></p>
  
  <p>But still run the search action.</p>
  
  <p>Is this at all possible?</p>