title: Setting optional parameters for Ruby on Rails' root on routes.rb
body: <p>I'm using a static_pages controller in order to serve all my static page content. I want to be able to pass parameters to this static page content in order to open several modal boxes for login and message popups. </p>
  
  <pre><code>root 'static_pages#home'
  </code></pre>
  
  <p>How can I do this? </p>