{"action":"opened","issue":{"url":"https://api.github.com/repos/slyka85/PackingList/issues/2","labels_url":"https://api.github.com/repos/slyka85/PackingList/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/slyka85/PackingList/issues/2/comments","events_url":"https://api.github.com/repos/slyka85/PackingList/issues/2/events","html_url":"https://github.com/slyka85/PackingList/issues/2","id":85555671,"number":2,"title":"Default items are not loaded on a particluar trip page","user":{"login":"slyka85","id":9851544,"avatar_url":"https://avatars.githubusercontent.com/u/9851544?v=3","gravatar_id":"","url":"https://api.github.com/users/slyka85","html_url":"https://github.com/slyka85","followers_url":"https://api.github.com/users/slyka85/followers","following_url":"https://api.github.com/users/slyka85/following{/other_user}","gists_url":"https://api.github.com/users/slyka85/gists{/gist_id}","starred_url":"https://api.github.com/users/slyka85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slyka85/subscriptions","organizations_url":"https://api.github.com/users/slyka85/orgs","repos_url":"https://api.github.com/users/slyka85/repos","events_url":"https://api.github.com/users/slyka85/events{/privacy}","received_events_url":"https://api.github.com/users/slyka85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T15:12:12Z","updated_at":"2015-06-05T15:12:12Z","closed_at":null,"body":"When a user creates a trip, he/she is being redirected to trips/id page where details of the trips are shown. I'm trying to append the list of default items on the same page as well, so that the user can select items there and then save them.\r\nMy issue is that default items are not being displayed at trips/id and the following error is given:\r\nGET http://localhost:3000/trips/api/default_items 404 (Not Found)\r\n\r\nIf a user goes to /items, then the list of suggested (default) items is shown. "}}