title: Ruby on Rails: how does one write a route such that id's are ignored?
body: <p>the default route is </p>
  
  <pre><code>:controller/:action/:id
  </code></pre>
  
  <p>but I want just :<code>controller/:action</code> for my errors controller.</p>
  
  <p>I kinda have this: but it doesn't work, as .connect needs an action</p>
  
  <pre><code>  map.connect 'errors/:action/', :controller =&gt; :errors
  </code></pre>
  
  <p>currently, when I re<code>direct_to(:controller =&gt; :errors, :action =&gt; :ip_blocked)</code>, it thinks the id is <code>ip_blocked</code>... so... thats weird...</p>
  
  <p>anyway... tis a routing problem.</p>