{"action":"created","comment":{"url":"https://api.github.com/repos/Arshev/sofa/pulls/comments/92945967","pull_request_review_id":13468288,"id":92945967,"diff_hunk":"@@ -1,2 +1,12 @@\n-p = answer.body\n-= link_to 'Delete', [@question, answer], method: :delete, data: { confirm: 'Are you sure?' }\n\\ No newline at end of file\n+div id=\"answer_#{answer.id}\"\n+  - if answer.persisted?\n+    .answer-text = answer.body\n+    - if answer.best? && user_signed_in? && current_user.check_author(@question)","path":"app/views/answers/_answer.html.slim","position":7,"original_position":7,"commit_id":"7910ca0abd18562eb82ace9154898ab62c276c2d","original_commit_id":"7910ca0abd18562eb82ace9154898ab62c276c2d","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Условие не верное. Зачем показывать ссылку, если ответ верный (`answer.best?` возвращает true)","created_at":"2016-12-18T17:24:48Z","updated_at":"2016-12-18T17:24:48Z","html_url":"https://github.com/Arshev/sofa/pull/7#discussion_r92945967","pull_request_url":"https://api.github.com/repos/Arshev/sofa/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/comments/92945967"},"html":{"href":"https://github.com/Arshev/sofa/pull/7#discussion_r92945967"},"pull_request":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Arshev/sofa/pulls/7","id":97141048,"html_url":"https://github.com/Arshev/sofa/pull/7","diff_url":"https://github.com/Arshev/sofa/pull/7.diff","patch_url":"https://github.com/Arshev/sofa/pull/7.patch","issue_url":"https://api.github.com/repos/Arshev/sofa/issues/7","number":7,"state":"open","locked":false,"title":"AJAX 2","user":{"login":"Arshev","id":14876971,"avatar_url":"https://avatars.githubusercontent.com/u/14876971?v=3","gravatar_id":"","url":"https://api.github.com/users/Arshev","html_url":"https://github.com/Arshev","followers_url":"https://api.github.com/users/Arshev/followers","following_url":"https://api.github.com/users/Arshev/following{/other_user}","gists_url":"https://api.github.com/users/Arshev/gists{/gist_id}","starred_url":"https://api.github.com/users/Arshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arshev/subscriptions","organizations_url":"https://api.github.com/users/Arshev/orgs","repos_url":"https://api.github.com/users/Arshev/repos","events_url":"https://api.github.com/users/Arshev/events{/privacy}","received_events_url":"https://api.github.com/users/Arshev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-08T15:20:36Z","updated_at":"2016-12-18T17:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a4999612a8231df39fe61cb540522afb0a35c95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Arshev/sofa/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Arshev/sofa/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Arshev/sofa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Arshev/sofa/issues/7/comments","statuses_url":"https://api.github.com/repos/Arshev/sofa/statuses/7910ca0abd18562eb82ace9154898ab62c276c2d","head":{"label":"Arshev:AJAX-2","ref":"AJAX-2","sha":"7910ca0abd18562eb82ace9154898ab62c276c2d","user":{"login":"Arshev","id":14876971,"avatar_url":"https://avatars.githubusercontent.com/u/14876971?v=3","gravatar_id":"","url":"https://api.github.com/users/Arshev","html_url":"https://github.com/Arshev","followers_url":"https://api.github.com/users/Arshev/followers","following_url":"https://api.github.com/users/Arshev/following{/other_user}","gists_url":"https://api.github.com/users/Arshev/gists{/gist_id}","starred_url":"https://api.github.com/users/Arshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arshev/subscriptions","organizations_url":"https://api.github.com/users/Arshev/orgs","repos_url":"https://api.github.com/users/Arshev/repos","events_url":"https://api.github.com/users/Arshev/events{/privacy}","received_events_url":"https://api.github.com/users/Arshev/received_events","type":"User","site_admin":false},"repo":{"id":74295232,"name":"sofa","full_name":"Arshev/sofa","owner":{"login":"Arshev","id":14876971,"avatar_url":"https://avatars.githubusercontent.com/u/14876971?v=3","gravatar_id":"","url":"https://api.github.com/users/Arshev","html_url":"https://github.com/Arshev","followers_url":"https://api.github.com/users/Arshev/followers","following_url":"https://api.github.com/users/Arshev/following{/other_user}","gists_url":"https://api.github.com/users/Arshev/gists{/gist_id}","starred_url":"https://api.github.com/users/Arshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arshev/subscriptions","organizations_url":"https://api.github.com/users/Arshev/orgs","repos_url":"https://api.github.com/users/Arshev/repos","events_url":"https://api.github.com/users/Arshev/events{/privacy}","received_events_url":"https://api.github.com/users/Arshev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arshev/sofa","description":"litle clone StackOverFlow","fork":false,"url":"https://api.github.com/repos/Arshev/sofa","forks_url":"https://api.github.com/repos/Arshev/sofa/forks","keys_url":"https://api.github.com/repos/Arshev/sofa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arshev/sofa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arshev/sofa/teams","hooks_url":"https://api.github.com/repos/Arshev/sofa/hooks","issue_events_url":"https://api.github.com/repos/Arshev/sofa/issues/events{/number}","events_url":"https://api.github.com/repos/Arshev/sofa/events","assignees_url":"https://api.github.com/repos/Arshev/sofa/assignees{/user}","branches_url":"https://api.github.com/repos/Arshev/sofa/branches{/branch}","tags_url":"https://api.github.com/repos/Arshev/sofa/tags","blobs_url":"https://api.github.com/repos/Arshev/sofa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arshev/sofa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arshev/sofa/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arshev/sofa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arshev/sofa/statuses/{sha}","languages_url":"https://api.github.com/repos/Arshev/sofa/languages","stargazers_url":"https://api.github.com/repos/Arshev/sofa/stargazers","contributors_url":"https://api.github.com/repos/Arshev/sofa/contributors","subscribers_url":"https://api.github.com/repos/Arshev/sofa/subscribers","subscription_url":"https://api.github.com/repos/Arshev/sofa/subscription","commits_url":"https://api.github.com/repos/Arshev/sofa/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arshev/sofa/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arshev/sofa/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arshev/sofa/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arshev/sofa/contents/{+path}","compare_url":"https://api.github.com/repos/Arshev/sofa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arshev/sofa/merges","archive_url":"https://api.github.com/repos/Arshev/sofa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arshev/sofa/downloads","issues_url":"https://api.github.com/repos/Arshev/sofa/issues{/number}","pulls_url":"https://api.github.com/repos/Arshev/sofa/pulls{/number}","milestones_url":"https://api.github.com/repos/Arshev/sofa/milestones{/number}","notifications_url":"https://api.github.com/repos/Arshev/sofa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arshev/sofa/labels{/name}","releases_url":"https://api.github.com/repos/Arshev/sofa/releases{/id}","deployments_url":"https://api.github.com/repos/Arshev/sofa/deployments","created_at":"2016-11-20T18:49:44Z","updated_at":"2016-11-21T16:46:26Z","pushed_at":"2016-12-18T12:07:43Z","git_url":"git://github.com/Arshev/sofa.git","ssh_url":"git@github.com:Arshev/sofa.git","clone_url":"https://github.com/Arshev/sofa.git","svn_url":"https://github.com/Arshev/sofa","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Arshev:master","ref":"master","sha":"b04fc54817d57e88b4c1997a41d2c1b5d0ed4625","user":{"login":"Arshev","id":14876971,"avatar_url":"https://avatars.githubusercontent.com/u/14876971?v=3","gravatar_id":"","url":"https://api.github.com/users/Arshev","html_url":"https://github.com/Arshev","followers_url":"https://api.github.com/users/Arshev/followers","following_url":"https://api.github.com/users/Arshev/following{/other_user}","gists_url":"https://api.github.com/users/Arshev/gists{/gist_id}","starred_url":"https://api.github.com/users/Arshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arshev/subscriptions","organizations_url":"https://api.github.com/users/Arshev/orgs","repos_url":"https://api.github.com/users/Arshev/repos","events_url":"https://api.github.com/users/Arshev/events{/privacy}","received_events_url":"https://api.github.com/users/Arshev/received_events","type":"User","site_admin":false},"repo":{"id":74295232,"name":"sofa","full_name":"Arshev/sofa","owner":{"login":"Arshev","id":14876971,"avatar_url":"https://avatars.githubusercontent.com/u/14876971?v=3","gravatar_id":"","url":"https://api.github.com/users/Arshev","html_url":"https://github.com/Arshev","followers_url":"https://api.github.com/users/Arshev/followers","following_url":"https://api.github.com/users/Arshev/following{/other_user}","gists_url":"https://api.github.com/users/Arshev/gists{/gist_id}","starred_url":"https://api.github.com/users/Arshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arshev/subscriptions","organizations_url":"https://api.github.com/users/Arshev/orgs","repos_url":"https://api.github.com/users/Arshev/repos","events_url":"https://api.github.com/users/Arshev/events{/privacy}","received_events_url":"https://api.github.com/users/Arshev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arshev/sofa","description":"litle clone StackOverFlow","fork":false,"url":"https://api.github.com/repos/Arshev/sofa","forks_url":"https://api.github.com/repos/Arshev/sofa/forks","keys_url":"https://api.github.com/repos/Arshev/sofa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arshev/sofa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arshev/sofa/teams","hooks_url":"https://api.github.com/repos/Arshev/sofa/hooks","issue_events_url":"https://api.github.com/repos/Arshev/sofa/issues/events{/number}","events_url":"https://api.github.com/repos/Arshev/sofa/events","assignees_url":"https://api.github.com/repos/Arshev/sofa/assignees{/user}","branches_url":"https://api.github.com/repos/Arshev/sofa/branches{/branch}","tags_url":"https://api.github.com/repos/Arshev/sofa/tags","blobs_url":"https://api.github.com/repos/Arshev/sofa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arshev/sofa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arshev/sofa/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arshev/sofa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arshev/sofa/statuses/{sha}","languages_url":"https://api.github.com/repos/Arshev/sofa/languages","stargazers_url":"https://api.github.com/repos/Arshev/sofa/stargazers","contributors_url":"https://api.github.com/repos/Arshev/sofa/contributors","subscribers_url":"https://api.github.com/repos/Arshev/sofa/subscribers","subscription_url":"https://api.github.com/repos/Arshev/sofa/subscription","commits_url":"https://api.github.com/repos/Arshev/sofa/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arshev/sofa/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arshev/sofa/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arshev/sofa/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arshev/sofa/contents/{+path}","compare_url":"https://api.github.com/repos/Arshev/sofa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arshev/sofa/merges","archive_url":"https://api.github.com/repos/Arshev/sofa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arshev/sofa/downloads","issues_url":"https://api.github.com/repos/Arshev/sofa/issues{/number}","pulls_url":"https://api.github.com/repos/Arshev/sofa/pulls{/number}","milestones_url":"https://api.github.com/repos/Arshev/sofa/milestones{/number}","notifications_url":"https://api.github.com/repos/Arshev/sofa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arshev/sofa/labels{/name}","releases_url":"https://api.github.com/repos/Arshev/sofa/releases{/id}","deployments_url":"https://api.github.com/repos/Arshev/sofa/deployments","created_at":"2016-11-20T18:49:44Z","updated_at":"2016-11-21T16:46:26Z","pushed_at":"2016-12-18T12:07:43Z","git_url":"git://github.com/Arshev/sofa.git","ssh_url":"git@github.com:Arshev/sofa.git","clone_url":"https://github.com/Arshev/sofa.git","svn_url":"https://github.com/Arshev/sofa","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/7"},"html":{"href":"https://github.com/Arshev/sofa/pull/7"},"issue":{"href":"https://api.github.com/repos/Arshev/sofa/issues/7"},"comments":{"href":"https://api.github.com/repos/Arshev/sofa/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Arshev/sofa/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Arshev/sofa/statuses/7910ca0abd18562eb82ace9154898ab62c276c2d"}}}}
{"actor":{"display_login":"vkurennov"}}