{"action":"closed","issue":{"url":"https://api.github.com/repos/jeffrey1981/sad_pizza/issues/1","labels_url":"https://api.github.com/repos/jeffrey1981/sad_pizza/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jeffrey1981/sad_pizza/issues/1/comments","events_url":"https://api.github.com/repos/jeffrey1981/sad_pizza/issues/1/events","html_url":"https://github.com/jeffrey1981/sad_pizza/issues/1","id":115169459,"number":1,"title":"Delete Post function","user":{"login":"jeffrey1981","id":14282650,"avatar_url":"https://avatars.githubusercontent.com/u/14282650?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffrey1981","html_url":"https://github.com/jeffrey1981","followers_url":"https://api.github.com/users/jeffrey1981/followers","following_url":"https://api.github.com/users/jeffrey1981/following{/other_user}","gists_url":"https://api.github.com/users/jeffrey1981/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffrey1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffrey1981/subscriptions","organizations_url":"https://api.github.com/users/jeffrey1981/orgs","repos_url":"https://api.github.com/users/jeffrey1981/repos","events_url":"https://api.github.com/users/jeffrey1981/events{/privacy}","received_events_url":"https://api.github.com/users/jeffrey1981/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T23:02:02Z","updated_at":"2015-11-04T23:06:21Z","closed_at":"2015-11-04T23:06:21Z","body":"I am unable to complete the delete functionality for a post. I have created a button with the path directing to the post controller and destroy.html. \r\n\r\nThe error reads:\r\n\r\nundefined method `destroy_post_path' for #<#<Class:0x007f9d15ccb528>:0x007f9d153e0990>\r\n\r\n\r\ndetroy.html.erd code.\r\n\r\nhttps://i.imgur.com/kDzfEit.png\r\n\r\npost_controller code\r\n\r\nhttps://i.imgur.com/wX5sJz9.png\r\n\r\nbotton code in show.html.erb\r\n\r\nhttps://i.imgur.com/tF2BKkV.png\r\n\r\nIf you need any further information i am happy to provide.\r\ncheers!\r\n"}}