{"action":"opened","issue":{"url":"https://api.github.com/repos/ga-dc/pbj-project2/issues/144","labels_url":"https://api.github.com/repos/ga-dc/pbj-project2/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/pbj-project2/issues/144/comments","events_url":"https://api.github.com/repos/ga-dc/pbj-project2/issues/144/events","html_url":"https://github.com/ga-dc/pbj-project2/issues/144","id":99441341,"number":144,"title":"No route matches error ","user":{"login":"lscottcook","id":10911493,"avatar_url":"https://avatars.githubusercontent.com/u/10911493?v=3","gravatar_id":"","url":"https://api.github.com/users/lscottcook","html_url":"https://github.com/lscottcook","followers_url":"https://api.github.com/users/lscottcook/followers","following_url":"https://api.github.com/users/lscottcook/following{/other_user}","gists_url":"https://api.github.com/users/lscottcook/gists{/gist_id}","starred_url":"https://api.github.com/users/lscottcook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscottcook/subscriptions","organizations_url":"https://api.github.com/users/lscottcook/orgs","repos_url":"https://api.github.com/users/lscottcook/repos","events_url":"https://api.github.com/users/lscottcook/events{/privacy}","received_events_url":"https://api.github.com/users/lscottcook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-06T14:01:41Z","updated_at":"2015-08-06T14:01:41Z","closed_at":null,"body":"I tried to specify a route to where information should be indexed after it is submitted\r\nI expected that the information would be displayed\r\ninstead of received the following error message\r\n\"No route matches {:action=>\"show\", :controller=>\"frowns\", :id=>nil} missing required keys: [:id]\"\r\n\r\n\r\nMy code is:\r\n\r\ndef create\r\n  @frown = current_user.frowns.build(frown_params)\r\n   redirect_to frown_path(@frown)\r\nend\r\n\r\n\r\nI suspect that the is a problem with how I set up my users but I am not sure.  \r\n"}}