{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/webmaker-moderator/issues/1","labels_url":"https://api.github.com/repos/mozilla/webmaker-moderator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/webmaker-moderator/issues/1/comments","events_url":"https://api.github.com/repos/mozilla/webmaker-moderator/issues/1/events","html_url":"https://github.com/mozilla/webmaker-moderator/issues/1","id":99706563,"number":1,"title":"nested routes on api.wm.o break rest adapter for individual projects","user":{"login":"ashleygwilliams","id":1163554,"avatar_url":"https://avatars.githubusercontent.com/u/1163554?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/webmaker-moderator/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-07T18:48:54Z","updated_at":"2015-08-13T19:53:40Z","closed_at":"2015-08-13T19:53:40Z","body":"`Ember.RESTAdapter` wants shallow routes. click through to an individual project looks for \"project/:id\".\r\n\r\nwe need to either:\r\nA. customize the adapter to deal with nested routes\r\nB. implement shallow routes for projects on `api.wm.o`\r\n\r\nB is the best option in my opinion as the nested routes are an anti-pattern. because the `project_id` is application unique, adding the route would be just that, and would require no more code change.\r\n\r\n@jbuck @simonwex @cadecairos?"}}