title: In Rails Routes redirect controller action to root?
body: <p>I have a root path in my routes file:</p>
  
  <pre><code>root 'games#index'
  </code></pre>
  
  <p>The problem is that if anyone goes to: <a href="http://domain.com/games" rel="nofollow noreferrer">http://domain.com/games</a> it doesn't show the root, thus we're creating two urls for the same page.</p>
  
  <p>Is there a way to change any hit to <a href="http://domain.com/games" rel="nofollow noreferrer">http://domain.com/games</a> to <a href="http://domain.com" rel="nofollow noreferrer">http://domain.com</a>?</p>
  
  <p>I'd rather not fiddle around with a <code>before_filter</code> in the application controller if there's a nice way to do it in the routes folder.</p>
  
  <p>Thanks!</p>