title: Zend: The url assembled by the URL view helper is incorrect
body: <pre><code>I have a problem using my url view helper. I have defined custom routes like so: 
  ; Index
  routes.domain.type = 'Zend_Controller_Router_Route_Static'
  routes.domain.route = '/'
  routes.domain.defaults.controller = index
  routes.domain.defaults.action = index
  </code></pre>
  
  <p>Everything works fine with the custom url's but I cannot assemble normal none.
  I tried to add a link using the following code from the view:</p>
  
  <pre><code>$this-&gt;url(array('controller' =&gt; 'search', 'action' =&gt; 'index');
  </code></pre>
  
  <p>The problem is that when I use this code in my index page of index controller, the returned url is the url of the current controller/action, and not the one I need.  </p>