title: Specifying Entire Path As Optional Rails 3.0.0
body: <p>I want to create a Rails 3 route with entirely optional parameters. The example broken route is:</p>
  
  <pre><code>match '(/name/:name)(/height/:height)(/weight/:weight)' =&gt; 'people#index'
  </code></pre>
  
  <p>Which results in 'rake:routes' yielding:</p>
  
  <blockquote>
    <p>/(/name/:name)(/height/:height)(/weight/:weight)</p>
  </blockquote>
  
  <p>And thus adding an initial slash to all links: </p>
  
  <pre><code>&lt;a href="//name/kevin"&gt;...&lt;/a&gt;
  </code></pre>
  
  <p>The route works if I specify it as:</p>
  
  <pre><code>match '/people(/name/:name)(/height/:height)(/weight/:weight)' =&gt; 'people#index'
  </code></pre>
  
  <p>But I want to have this as the root URL (as with the first example, which does not work). Thanks.</p>