{"action":"created","comment":{"url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/comments/22664678","id":22664678,"diff_hunk":"@@ -0,0 +1,18 @@\n+module Admin\n+  class CommentsController < ApplicationController\n+    before_filter :authorize!\n+    def index\n+      @comments = Comment.all\n+    end\n+\n+    def destroy\n+    @comment = Comment.find(params[:id])","path":"app/controllers/admin/comments_controller.rb","position":9,"original_position":9,"commit_id":"1bdd26f4ed9a719028ef7015ad449287190f6a2a","original_commit_id":"1bdd26f4ed9a719028ef7015ad449287190f6a2a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use 2 (not 0) spaces for indentation.","created_at":"2015-01-08T17:07:03Z","updated_at":"2015-01-08T17:07:03Z","html_url":"https://github.com/pezcore343/pizza_reviews/pull/24#discussion_r22664678","pull_request_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/comments/22664678"},"html":{"href":"https://github.com/pezcore343/pizza_reviews/pull/24#discussion_r22664678"},"pull_request":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24","id":27030963,"html_url":"https://github.com/pezcore343/pizza_reviews/pull/24","diff_url":"https://github.com/pezcore343/pizza_reviews/pull/24.diff","patch_url":"https://github.com/pezcore343/pizza_reviews/pull/24.patch","issue_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/24","number":24,"state":"open","locked":false,"title":"Kh jn admin crub","user":{"login":"judngu","id":9113992,"avatar_url":"https://avatars.githubusercontent.com/u/9113992?v=3","gravatar_id":"","url":"https://api.github.com/users/judngu","html_url":"https://github.com/judngu","followers_url":"https://api.github.com/users/judngu/followers","following_url":"https://api.github.com/users/judngu/following{/other_user}","gists_url":"https://api.github.com/users/judngu/gists{/gist_id}","starred_url":"https://api.github.com/users/judngu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judngu/subscriptions","organizations_url":"https://api.github.com/users/judngu/orgs","repos_url":"https://api.github.com/users/judngu/repos","events_url":"https://api.github.com/users/judngu/events{/privacy}","received_events_url":"https://api.github.com/users/judngu/received_events","type":"User","site_admin":false},"body":"fixed errors in test; test all passing, admin DELETE functions","created_at":"2015-01-08T14:21:17Z","updated_at":"2015-01-08T17:07:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24/commits","review_comments_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24/comments","review_comment_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/24/comments","statuses_url":"https://api.github.com/repos/pezcore343/pizza_reviews/statuses/1bdd26f4ed9a719028ef7015ad449287190f6a2a","head":{"label":"pezcore343:KH-JN-admin-crub","ref":"KH-JN-admin-crub","sha":"1bdd26f4ed9a719028ef7015ad449287190f6a2a","user":{"login":"pezcore343","id":7838511,"avatar_url":"https://avatars.githubusercontent.com/u/7838511?v=3","gravatar_id":"","url":"https://api.github.com/users/pezcore343","html_url":"https://github.com/pezcore343","followers_url":"https://api.github.com/users/pezcore343/followers","following_url":"https://api.github.com/users/pezcore343/following{/other_user}","gists_url":"https://api.github.com/users/pezcore343/gists{/gist_id}","starred_url":"https://api.github.com/users/pezcore343/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezcore343/subscriptions","organizations_url":"https://api.github.com/users/pezcore343/orgs","repos_url":"https://api.github.com/users/pezcore343/repos","events_url":"https://api.github.com/users/pezcore343/events{/privacy}","received_events_url":"https://api.github.com/users/pezcore343/received_events","type":"User","site_admin":false},"repo":{"id":28602731,"name":"pizza_reviews","full_name":"pezcore343/pizza_reviews","owner":{"login":"pezcore343","id":7838511,"avatar_url":"https://avatars.githubusercontent.com/u/7838511?v=3","gravatar_id":"","url":"https://api.github.com/users/pezcore343","html_url":"https://github.com/pezcore343","followers_url":"https://api.github.com/users/pezcore343/followers","following_url":"https://api.github.com/users/pezcore343/following{/other_user}","gists_url":"https://api.github.com/users/pezcore343/gists{/gist_id}","starred_url":"https://api.github.com/users/pezcore343/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezcore343/subscriptions","organizations_url":"https://api.github.com/users/pezcore343/orgs","repos_url":"https://api.github.com/users/pezcore343/repos","events_url":"https://api.github.com/users/pezcore343/events{/privacy}","received_events_url":"https://api.github.com/users/pezcore343/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pezcore343/pizza_reviews","description":"Pizza Review web app written in Ruby on Rails","fork":false,"url":"https://api.github.com/repos/pezcore343/pizza_reviews","forks_url":"https://api.github.com/repos/pezcore343/pizza_reviews/forks","keys_url":"https://api.github.com/repos/pezcore343/pizza_reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pezcore343/pizza_reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pezcore343/pizza_reviews/teams","hooks_url":"https://api.github.com/repos/pezcore343/pizza_reviews/hooks","issue_events_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/events{/number}","events_url":"https://api.github.com/repos/pezcore343/pizza_reviews/events","assignees_url":"https://api.github.com/repos/pezcore343/pizza_reviews/assignees{/user}","branches_url":"https://api.github.com/repos/pezcore343/pizza_reviews/branches{/branch}","tags_url":"https://api.github.com/repos/pezcore343/pizza_reviews/tags","blobs_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pezcore343/pizza_reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/pezcore343/pizza_reviews/languages","stargazers_url":"https://api.github.com/repos/pezcore343/pizza_reviews/stargazers","contributors_url":"https://api.github.com/repos/pezcore343/pizza_reviews/contributors","subscribers_url":"https://api.github.com/repos/pezcore343/pizza_reviews/subscribers","subscription_url":"https://api.github.com/repos/pezcore343/pizza_reviews/subscription","commits_url":"https://api.github.com/repos/pezcore343/pizza_reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/pezcore343/pizza_reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/comments/{number}","contents_url":"https://api.github.com/repos/pezcore343/pizza_reviews/contents/{+path}","compare_url":"https://api.github.com/repos/pezcore343/pizza_reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pezcore343/pizza_reviews/merges","archive_url":"https://api.github.com/repos/pezcore343/pizza_reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pezcore343/pizza_reviews/downloads","issues_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues{/number}","pulls_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/pezcore343/pizza_reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/pezcore343/pizza_reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pezcore343/pizza_reviews/labels{/name}","releases_url":"https://api.github.com/repos/pezcore343/pizza_reviews/releases{/id}","created_at":"2014-12-29T19:00:55Z","updated_at":"2015-01-07T20:58:11Z","pushed_at":"2015-01-08T17:06:52Z","git_url":"git://github.com/pezcore343/pizza_reviews.git","ssh_url":"git@github.com:pezcore343/pizza_reviews.git","clone_url":"https://github.com/pezcore343/pizza_reviews.git","svn_url":"https://github.com/pezcore343/pizza_reviews","homepage":null,"size":1080,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"pezcore343:master","ref":"master","sha":"220fff26337c87996d738fb0e688b9bb4339a233","user":{"login":"pezcore343","id":7838511,"avatar_url":"https://avatars.githubusercontent.com/u/7838511?v=3","gravatar_id":"","url":"https://api.github.com/users/pezcore343","html_url":"https://github.com/pezcore343","followers_url":"https://api.github.com/users/pezcore343/followers","following_url":"https://api.github.com/users/pezcore343/following{/other_user}","gists_url":"https://api.github.com/users/pezcore343/gists{/gist_id}","starred_url":"https://api.github.com/users/pezcore343/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezcore343/subscriptions","organizations_url":"https://api.github.com/users/pezcore343/orgs","repos_url":"https://api.github.com/users/pezcore343/repos","events_url":"https://api.github.com/users/pezcore343/events{/privacy}","received_events_url":"https://api.github.com/users/pezcore343/received_events","type":"User","site_admin":false},"repo":{"id":28602731,"name":"pizza_reviews","full_name":"pezcore343/pizza_reviews","owner":{"login":"pezcore343","id":7838511,"avatar_url":"https://avatars.githubusercontent.com/u/7838511?v=3","gravatar_id":"","url":"https://api.github.com/users/pezcore343","html_url":"https://github.com/pezcore343","followers_url":"https://api.github.com/users/pezcore343/followers","following_url":"https://api.github.com/users/pezcore343/following{/other_user}","gists_url":"https://api.github.com/users/pezcore343/gists{/gist_id}","starred_url":"https://api.github.com/users/pezcore343/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezcore343/subscriptions","organizations_url":"https://api.github.com/users/pezcore343/orgs","repos_url":"https://api.github.com/users/pezcore343/repos","events_url":"https://api.github.com/users/pezcore343/events{/privacy}","received_events_url":"https://api.github.com/users/pezcore343/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pezcore343/pizza_reviews","description":"Pizza Review web app written in Ruby on Rails","fork":false,"url":"https://api.github.com/repos/pezcore343/pizza_reviews","forks_url":"https://api.github.com/repos/pezcore343/pizza_reviews/forks","keys_url":"https://api.github.com/repos/pezcore343/pizza_reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pezcore343/pizza_reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pezcore343/pizza_reviews/teams","hooks_url":"https://api.github.com/repos/pezcore343/pizza_reviews/hooks","issue_events_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/events{/number}","events_url":"https://api.github.com/repos/pezcore343/pizza_reviews/events","assignees_url":"https://api.github.com/repos/pezcore343/pizza_reviews/assignees{/user}","branches_url":"https://api.github.com/repos/pezcore343/pizza_reviews/branches{/branch}","tags_url":"https://api.github.com/repos/pezcore343/pizza_reviews/tags","blobs_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pezcore343/pizza_reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/pezcore343/pizza_reviews/languages","stargazers_url":"https://api.github.com/repos/pezcore343/pizza_reviews/stargazers","contributors_url":"https://api.github.com/repos/pezcore343/pizza_reviews/contributors","subscribers_url":"https://api.github.com/repos/pezcore343/pizza_reviews/subscribers","subscription_url":"https://api.github.com/repos/pezcore343/pizza_reviews/subscription","commits_url":"https://api.github.com/repos/pezcore343/pizza_reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/pezcore343/pizza_reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/pezcore343/pizza_reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/comments/{number}","contents_url":"https://api.github.com/repos/pezcore343/pizza_reviews/contents/{+path}","compare_url":"https://api.github.com/repos/pezcore343/pizza_reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pezcore343/pizza_reviews/merges","archive_url":"https://api.github.com/repos/pezcore343/pizza_reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pezcore343/pizza_reviews/downloads","issues_url":"https://api.github.com/repos/pezcore343/pizza_reviews/issues{/number}","pulls_url":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/pezcore343/pizza_reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/pezcore343/pizza_reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pezcore343/pizza_reviews/labels{/name}","releases_url":"https://api.github.com/repos/pezcore343/pizza_reviews/releases{/id}","created_at":"2014-12-29T19:00:55Z","updated_at":"2015-01-07T20:58:11Z","pushed_at":"2015-01-08T17:06:52Z","git_url":"git://github.com/pezcore343/pizza_reviews.git","ssh_url":"git@github.com:pezcore343/pizza_reviews.git","clone_url":"https://github.com/pezcore343/pizza_reviews.git","svn_url":"https://github.com/pezcore343/pizza_reviews","homepage":null,"size":1080,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24"},"html":{"href":"https://github.com/pezcore343/pizza_reviews/pull/24"},"issue":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/24"},"comments":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/pezcore343/pizza_reviews/statuses/1bdd26f4ed9a719028ef7015ad449287190f6a2a"}}}}