title: React router - redirect using indexRoute
body: <p>I'm using react-router with <code>routes</code> parameter:</p>
  
  <pre><code>const rootRoute = {
      component: App,
      childRoutes: createRoutes(store),
      indexRoute: { onEnter: (nextState, replace) =&gt; replace('/new-url') }
  };
  </code></pre>
  
  <p>Here is the <code>Router</code> jsx part:</p>
  
  <pre><code>&lt;Router
      history={hashHistory}
      routes={rootRoute}&gt;
  &lt;/Router&gt;
  </code></pre>
  
  <p>The <code>indexRoute</code> is the line I was trying to add to make the redirect but it doesn't work.</p>