title: Rails 3 routing - passing params from routes.rb
body: <p>In rails 2.3.5 you could do something like this inside the routes.rb file:</p>
  
  <pre><code>map.root :controller =&gt; "pages", :action =&gt; "show", :id =&gt; 3
  </code></pre>
  
  <p>In rails 3 I haven't found any way to pass a specific parameter (like in rails 2.3.5 with :id => 3). </p>
  
  <p>I know I can handle it from the controller and have the same result (which I did), but I was wondering if there is a way to do the same thing in rails 3 from the routes.rb or has it changed because it is better practice for some reason?</p>