{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/5650","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5650/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5650/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5650/events","html_url":"https://github.com/ReactTraining/react-router/issues/5650","id":267520421,"number":5650,"title":"How to set a default child route","user":{"login":"guoxiangwen","id":7627191,"avatar_url":"https://avatars0.githubusercontent.com/u/7627191?v=4","gravatar_id":"","url":"https://api.github.com/users/guoxiangwen","html_url":"https://github.com/guoxiangwen","followers_url":"https://api.github.com/users/guoxiangwen/followers","following_url":"https://api.github.com/users/guoxiangwen/following{/other_user}","gists_url":"https://api.github.com/users/guoxiangwen/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiangwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiangwen/subscriptions","organizations_url":"https://api.github.com/users/guoxiangwen/orgs","repos_url":"https://api.github.com/users/guoxiangwen/repos","events_url":"https://api.github.com/users/guoxiangwen/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiangwen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-23T01:59:17Z","updated_at":"2017-10-23T02:04:36Z","closed_at":"2017-10-23T02:04:36Z","author_association":"NONE","body":"entry.js\r\n```\r\n      <Switch>\r\n        <Route path=\"/console\" component={Console} />\r\n        <Route path=\"/\" component={Home} />\r\n      </Switch>\r\n```\r\nconsole.js\r\n```\r\n              <Route path={`${consolePath}/project_detail`} component={ProjectDetail} />\r\n              <Route exact path={`${consolePath}/app`} component={AppList} />\r\n              <Route path={`${consolePath}/app/:id`} component={AppDetail} />\r\n\r\n              <Route exact path={`${consolePath}/contacts`} component={ContactsList} />\r\n              <Route path={`${consolePath}/contacts/:id`} component={ContactsDetail} />\r\n\r\n              <Route path={`${consolePath}/logs`} component={LogList} />\r\n\r\n\r\n            </Content>\r\n```\r\n\r\nwhen i link to /console i want to default get /console/project_detail . what should i do?"}}
{"actor":{"display_login":"pshrmn"}}