title: How can I create a Rails 3 route that will match all requests and direct to one resource / page?
body: <p>I have a rails app (Rails 3.0) that I need to temporarily take out of service. While this is in effect, I want to create a new route that will direct all requests to a single piece of static content. I have a controller set up to serve my static pages.</p>
  
  <p>I tried something like this:</p>
  
  <pre><code>match '*' =&gt; 'content#holding'
  </code></pre>
  
  <p>and</p>
  
  <pre><code>match '*/*' =&gt; 'content#holding'
  </code></pre>
  
  <p>to match a wildcard route as described here:<a href="http://edgeguides.rubyonrails.org/routing.html#route-globbing">Rails 3 route globbing</a> without success.</p>
  
  <p>This is probably a really simple answer, but I couldn't figure it out.</p>
  
  <p>/<em>EDIT</em>/
  Forgot to mention that I did have this rule at the very top of my routes.rb file.</p>