{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/2459","labels_url":"https://api.github.com/repos/rackt/react-router/issues/2459/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/2459/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/2459/events","html_url":"https://github.com/rackt/react-router/issues/2459","id":114785256,"number":2459,"title":"'onEnter' not called when Route entered via IndexRedirect","user":{"login":"phestermcs","id":4985028,"avatar_url":"https://avatars.githubusercontent.com/u/4985028?v=3","gravatar_id":"","url":"https://api.github.com/users/phestermcs","html_url":"https://github.com/phestermcs","followers_url":"https://api.github.com/users/phestermcs/followers","following_url":"https://api.github.com/users/phestermcs/following{/other_user}","gists_url":"https://api.github.com/users/phestermcs/gists{/gist_id}","starred_url":"https://api.github.com/users/phestermcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phestermcs/subscriptions","organizations_url":"https://api.github.com/users/phestermcs/orgs","repos_url":"https://api.github.com/users/phestermcs/repos","events_url":"https://api.github.com/users/phestermcs/events{/privacy}","received_events_url":"https://api.github.com/users/phestermcs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T10:30:07Z","updated_at":"2015-11-03T10:38:55Z","closed_at":"2015-11-03T10:38:55Z","body":"Given the following route config:\r\n```\r\n<Router history={history}>\r\n  <Route path=\"/\" component={App}>\r\n    <IndexRedirect to=\"/some-path\"/>\r\n    <Route path=\"/some-path\" component={SomeComp} onEnter={this.auth}/>\r\n  </Route>\r\n</Router>\r\n```\r\nManually navigating to \"/some-path\" will cause ```this.auth``` to be called. However, manually navigating to \"/\" will redirect to \"/some-path\", but ```this.auth``` is never called. How then would ```this.auth``` be called when redirected to \"/some-path\"?"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/153311192","html_url":"https://github.com/rackt/react-router/issues/2459#issuecomment-153311192","issue_url":"https://api.github.com/repos/rackt/react-router/issues/2459","id":153311192,"user":{"login":"phestermcs","id":4985028,"avatar_url":"https://avatars.githubusercontent.com/u/4985028?v=3","gravatar_id":"","url":"https://api.github.com/users/phestermcs","html_url":"https://github.com/phestermcs","followers_url":"https://api.github.com/users/phestermcs/followers","following_url":"https://api.github.com/users/phestermcs/following{/other_user}","gists_url":"https://api.github.com/users/phestermcs/gists{/gist_id}","starred_url":"https://api.github.com/users/phestermcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phestermcs/subscriptions","organizations_url":"https://api.github.com/users/phestermcs/orgs","repos_url":"https://api.github.com/users/phestermcs/repos","events_url":"https://api.github.com/users/phestermcs/events{/privacy}","received_events_url":"https://api.github.com/users/phestermcs/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T10:38:55Z","updated_at":"2015-11-03T10:38:55Z","body":"Oops, debugger mishap. All good"}}