{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1048","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1048/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1048/events","html_url":"https://github.com/rackt/react-router/issues/1048","id":66247421,"number":1048,"title":"Named routes inside of DefaultRoute are not accessible","user":{"login":"kvakes","id":377005,"avatar_url":"https://avatars.githubusercontent.com/u/377005?v=3","gravatar_id":"","url":"https://api.github.com/users/kvakes","html_url":"https://github.com/kvakes","followers_url":"https://api.github.com/users/kvakes/followers","following_url":"https://api.github.com/users/kvakes/following{/other_user}","gists_url":"https://api.github.com/users/kvakes/gists{/gist_id}","starred_url":"https://api.github.com/users/kvakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvakes/subscriptions","organizations_url":"https://api.github.com/users/kvakes/orgs","repos_url":"https://api.github.com/users/kvakes/repos","events_url":"https://api.github.com/users/kvakes/events{/privacy}","received_events_url":"https://api.github.com/users/kvakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T23:26:19Z","updated_at":"2015-04-06T14:51:00Z","closed_at":null,"body":"Part of the routes:\r\n\r\n```\r\n      <Route name=\"marketplace\" handler={getHandler('Marketplace')}>\r\n        <Route name=\"market-date\" path=\":date\" handler={getHandler('MarketDate')}>\r\n          <DefaultRoute handler={getHandler('Offers')}>\r\n            <Route name=\"hotel-offer\" path=\":hotelId\" handler={getHandler('Offer')}/>\r\n          </DefaultRoute>\r\n          <Route name=\"inventory\" handler={getHandler('Inventory')}/>\r\n        </Route>\r\n      </Route>\r\n```\r\n\r\nWhen I try to navigate to \"hotel-offer\" route via `this.context.router.transitionTo` it throws an error: `Uncaught Error: Invariant Violation: Cannot find a route named \"hotel-offer\"`.\r\n\r\nI've changed the routes to the code below and it helped, but it was super confusing:\r\n\r\n```\r\n      <Route name=\"marketplace\" handler={getHandler('Marketplace')}>\r\n        <Route name=\"market-date\" path=\":date\" handler={getHandler('MarketDate')}>\r\n          <Route handler={getHandler('Offers')}>\r\n            <Route name=\"hotel-offer\" path=\":hotelId\" handler={getHandler('Offer')}/>\r\n          </Route>\r\n          <Route name=\"inventory\" handler={getHandler('Inventory')}/>\r\n        </Route>\r\n      </Route>\r\n```\r\n\r\nFYI, @DomKM."},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/90086859","html_url":"https://github.com/rackt/react-router/issues/1048#issuecomment-90086859","issue_url":"https://api.github.com/repos/rackt/react-router/issues/1048","id":90086859,"user":{"login":"DomKM","id":1292853,"avatar_url":"https://avatars.githubusercontent.com/u/1292853?v=3","gravatar_id":"","url":"https://api.github.com/users/DomKM","html_url":"https://github.com/DomKM","followers_url":"https://api.github.com/users/DomKM/followers","following_url":"https://api.github.com/users/DomKM/following{/other_user}","gists_url":"https://api.github.com/users/DomKM/gists{/gist_id}","starred_url":"https://api.github.com/users/DomKM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomKM/subscriptions","organizations_url":"https://api.github.com/users/DomKM/orgs","repos_url":"https://api.github.com/users/DomKM/repos","events_url":"https://api.github.com/users/DomKM/events{/privacy}","received_events_url":"https://api.github.com/users/DomKM/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T14:51:00Z","updated_at":"2015-04-06T14:51:00Z","body":"@jonjaques That doesn't fix it; we still get the same error."}}