{"action":"created","comment":{"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments/48459095","id":48459095,"diff_hunk":"@@ -1,13 +1,42 @@\n class CommentsController < ApplicationController\n   before_action :authenticate_user!\n+\n def create\n   @post = Post.find(params[:post_id])\n   @post.comments.create(comment_params.merge(:user => current_user))\n   redirect_to post_path(@post)\n end\n \n+def edit\n+  @comment = Comment.find(params[:comment_id])\n+end\n+\n+def update\n+  @comment = Comment.find(params[:comment_id])","path":"app/controllers/comments_controller.rb","position":15,"original_position":15,"commit_id":"8f6d677eaff5ed6acda994d1d0b621bd619e96ea","original_commit_id":"8f6d677eaff5ed6acda994d1d0b621bd619e96ea","user":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"body":"Same as above, will be passed through as `id`.","created_at":"2015-12-27T23:02:05Z","updated_at":"2015-12-27T23:02:05Z","html_url":"https://github.com/FirehoseCommunity/DEFCON/pull/36#discussion_r48459095","pull_request_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments/48459095"},"html":{"href":"https://github.com/FirehoseCommunity/DEFCON/pull/36#discussion_r48459095"},"pull_request":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36","id":54625387,"html_url":"https://github.com/FirehoseCommunity/DEFCON/pull/36","diff_url":"https://github.com/FirehoseCommunity/DEFCON/pull/36.diff","patch_url":"https://github.com/FirehoseCommunity/DEFCON/pull/36.patch","issue_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/36","number":36,"state":"open","locked":false,"title":"Don't Merge - using this pull request to make notes.","user":{"login":"kenmazaika","id":233615,"avatar_url":"https://avatars.githubusercontent.com/u/233615?v=3","gravatar_id":"","url":"https://api.github.com/users/kenmazaika","html_url":"https://github.com/kenmazaika","followers_url":"https://api.github.com/users/kenmazaika/followers","following_url":"https://api.github.com/users/kenmazaika/following{/other_user}","gists_url":"https://api.github.com/users/kenmazaika/gists{/gist_id}","starred_url":"https://api.github.com/users/kenmazaika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenmazaika/subscriptions","organizations_url":"https://api.github.com/users/kenmazaika/orgs","repos_url":"https://api.github.com/users/kenmazaika/repos","events_url":"https://api.github.com/users/kenmazaika/events{/privacy}","received_events_url":"https://api.github.com/users/kenmazaika/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-27T22:59:12Z","updated_at":"2015-12-27T23:02:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c97258f3d3da473c2d53b88acf43e1cdae75c571","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36/commits","review_comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36/comments","review_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/36/comments","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/8f6d677eaff5ed6acda994d1d0b621bd619e96ea","head":{"label":"FirehoseCommunity:comments","ref":"comments","sha":"8f6d677eaff5ed6acda994d1d0b621bd619e96ea","user":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":46517858,"name":"DEFCON","full_name":"FirehoseCommunity/DEFCON","owner":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseCommunity/DEFCON","description":"","fork":false,"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON","forks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/forks","keys_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/teams","hooks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/hooks","issue_events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/events","assignees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/tags","blobs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/languages","stargazers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/stargazers","contributors_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contributors","subscribers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscribers","subscription_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscription","commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/merges","archive_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/downloads","issues_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/releases{/id}","created_at":"2015-11-19T20:18:27Z","updated_at":"2015-12-15T17:22:28Z","pushed_at":"2015-12-27T22:59:13Z","git_url":"git://github.com/FirehoseCommunity/DEFCON.git","ssh_url":"git@github.com:FirehoseCommunity/DEFCON.git","clone_url":"https://github.com/FirehoseCommunity/DEFCON.git","svn_url":"https://github.com/FirehoseCommunity/DEFCON","homepage":null,"size":7019,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"FirehoseCommunity:master","ref":"master","sha":"3344bec8f5b7781104d1feb5796733d2f77ad964","user":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":46517858,"name":"DEFCON","full_name":"FirehoseCommunity/DEFCON","owner":{"login":"FirehoseCommunity","id":13384173,"avatar_url":"https://avatars.githubusercontent.com/u/13384173?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseCommunity","html_url":"https://github.com/FirehoseCommunity","followers_url":"https://api.github.com/users/FirehoseCommunity/followers","following_url":"https://api.github.com/users/FirehoseCommunity/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseCommunity/subscriptions","organizations_url":"https://api.github.com/users/FirehoseCommunity/orgs","repos_url":"https://api.github.com/users/FirehoseCommunity/repos","events_url":"https://api.github.com/users/FirehoseCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseCommunity/DEFCON","description":"","fork":false,"url":"https://api.github.com/repos/FirehoseCommunity/DEFCON","forks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/forks","keys_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/teams","hooks_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/hooks","issue_events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/events","assignees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/tags","blobs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/languages","stargazers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/stargazers","contributors_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contributors","subscribers_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscribers","subscription_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/subscription","commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/merges","archive_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/downloads","issues_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseCommunity/DEFCON/releases{/id}","created_at":"2015-11-19T20:18:27Z","updated_at":"2015-12-15T17:22:28Z","pushed_at":"2015-12-27T22:59:13Z","git_url":"git://github.com/FirehoseCommunity/DEFCON.git","ssh_url":"git@github.com:FirehoseCommunity/DEFCON.git","clone_url":"https://github.com/FirehoseCommunity/DEFCON.git","svn_url":"https://github.com/FirehoseCommunity/DEFCON","homepage":null,"size":7019,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36"},"html":{"href":"https://github.com/FirehoseCommunity/DEFCON/pull/36"},"issue":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/36"},"comments":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/FirehoseCommunity/DEFCON/statuses/8f6d677eaff5ed6acda994d1d0b621bd619e96ea"}}}}