{"action":"opened","issue":{"url":"https://api.github.com/repos/brianfoshee/brianfoshee/issues/1","labels_url":"https://api.github.com/repos/brianfoshee/brianfoshee/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/brianfoshee/brianfoshee/issues/1/comments","events_url":"https://api.github.com/repos/brianfoshee/brianfoshee/issues/1/events","html_url":"https://github.com/brianfoshee/brianfoshee/issues/1","id":82237128,"number":1,"title":"When using custom URL slugs, an additional model instance is created","user":{"login":"brianfoshee","id":155215,"avatar_url":"https://avatars.githubusercontent.com/u/155215?v=3","gravatar_id":"","url":"https://api.github.com/users/brianfoshee","html_url":"https://github.com/brianfoshee","followers_url":"https://api.github.com/users/brianfoshee/followers","following_url":"https://api.github.com/users/brianfoshee/following{/other_user}","gists_url":"https://api.github.com/users/brianfoshee/gists{/gist_id}","starred_url":"https://api.github.com/users/brianfoshee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianfoshee/subscriptions","organizations_url":"https://api.github.com/users/brianfoshee/orgs","repos_url":"https://api.github.com/users/brianfoshee/repos","events_url":"https://api.github.com/users/brianfoshee/events{/privacy}","received_events_url":"https://api.github.com/users/brianfoshee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T03:30:23Z","updated_at":"2015-05-29T03:30:23Z","closed_at":null,"body":"I created a branch in this repo to demonstrate an issue I'm having with an app that I can't post publicly. \r\n\r\nAssume that specifications dictate that an index of blog posts should live at the URL `/writings` and each individual blog post should live at `/thought/:post_slug`. There is a model, `post`, which has a single attribute of `title`. The `:post_slug` is the `post`'s `title` downcased and hyphenated. `http-mock` is setup with some sample data.\r\n\r\nThe issue I'm having is that, when navigating directly to `/thought/how-to-ride-a-bike`, a second, invalid instance of a `post` is created with its `id` set to the `:post_slug`, or `how-to-ride-a-bike` in this case. See first screenshot below.\r\n\r\nI'm new to Ember, so feedback/corrections/criticisms appreciated! \r\n\r\n- [Issue branch](https://github.com/brianfoshee/brianfoshee/tree/extra-data) \r\n- [Commit with everything relevant to this issue](https://github.com/brianfoshee/brianfoshee/commit/24a6f7807303e5c37b78b622d18951e9094e7005)\r\n- [router.js](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/app/router.js)\r\n- [post model](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/app/models/post.js)\r\n- [post route (`/thought/:post_slug`)](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/app/routes/post.js)\r\n- [posts route (`/writings`)](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/app/routes/posts.js)\r\n- [posts http-mock](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/server/mocks/posts.js)\r\n- [application REST adapter](https://github.com/brianfoshee/brianfoshee/blob/24a6f7807303e5c37b78b622d18951e9094e7005/app/adapters/application.js)\r\n\r\n![screen shot 2015-05-28 at 10 43 05 pm](https://cloud.githubusercontent.com/assets/155215/7875443/6188ca74-058b-11e5-83a4-274ac420c28c.png)\r\n\r\n\r\n![screen shot 2015-05-28 at 10 43 27 pm](https://cloud.githubusercontent.com/assets/155215/7875446/6642425c-058b-11e5-83cb-c61823b4cb77.png)"}}