{"action":"created","comment":{"url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/comments/39533938","id":39533938,"diff_hunk":"@@ -0,0 +1,18 @@\n+class CommentsController < ApplicationController\n+  def create\n+    @article = Article.find(params[:article_id])\n+    @comment = @article.comments.create(comment_params)\n+    redirect_to article_path(@article)\n+  end\n+  def destroy","path":"app/controllers/comments_controller.rb","position":7,"original_position":7,"commit_id":"5fb669f99e76f60e9aef03bd5cb7aa1d98df90f3","original_commit_id":"5fb669f99e76f60e9aef03bd5cb7aa1d98df90f3","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 empty lines between defs.","created_at":"2015-09-15T16:43:46Z","updated_at":"2015-09-15T16:43:46Z","html_url":"https://github.com/andela-oojewale/simple_blog/pull/1#discussion_r39533938","pull_request_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/comments/39533938"},"html":{"href":"https://github.com/andela-oojewale/simple_blog/pull/1#discussion_r39533938"},"pull_request":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1","id":45044386,"html_url":"https://github.com/andela-oojewale/simple_blog/pull/1","diff_url":"https://github.com/andela-oojewale/simple_blog/pull/1.diff","patch_url":"https://github.com/andela-oojewale/simple_blog/pull/1.patch","issue_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/1","number":1,"state":"open","locked":false,"title":"Dev","user":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-15T12:46:51Z","updated_at":"2015-09-15T16:43:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c30441737a56420880da3c170e4203be1f3546b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/1/comments","statuses_url":"https://api.github.com/repos/andela-oojewale/simple_blog/statuses/5fb669f99e76f60e9aef03bd5cb7aa1d98df90f3","head":{"label":"andela-oojewale:dev","ref":"dev","sha":"5fb669f99e76f60e9aef03bd5cb7aa1d98df90f3","user":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"repo":{"id":42357385,"name":"simple_blog","full_name":"andela-oojewale/simple_blog","owner":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-oojewale/simple_blog","description":"","fork":false,"url":"https://api.github.com/repos/andela-oojewale/simple_blog","forks_url":"https://api.github.com/repos/andela-oojewale/simple_blog/forks","keys_url":"https://api.github.com/repos/andela-oojewale/simple_blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-oojewale/simple_blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-oojewale/simple_blog/teams","hooks_url":"https://api.github.com/repos/andela-oojewale/simple_blog/hooks","issue_events_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/events{/number}","events_url":"https://api.github.com/repos/andela-oojewale/simple_blog/events","assignees_url":"https://api.github.com/repos/andela-oojewale/simple_blog/assignees{/user}","branches_url":"https://api.github.com/repos/andela-oojewale/simple_blog/branches{/branch}","tags_url":"https://api.github.com/repos/andela-oojewale/simple_blog/tags","blobs_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-oojewale/simple_blog/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-oojewale/simple_blog/languages","stargazers_url":"https://api.github.com/repos/andela-oojewale/simple_blog/stargazers","contributors_url":"https://api.github.com/repos/andela-oojewale/simple_blog/contributors","subscribers_url":"https://api.github.com/repos/andela-oojewale/simple_blog/subscribers","subscription_url":"https://api.github.com/repos/andela-oojewale/simple_blog/subscription","commits_url":"https://api.github.com/repos/andela-oojewale/simple_blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-oojewale/simple_blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-oojewale/simple_blog/contents/{+path}","compare_url":"https://api.github.com/repos/andela-oojewale/simple_blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-oojewale/simple_blog/merges","archive_url":"https://api.github.com/repos/andela-oojewale/simple_blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-oojewale/simple_blog/downloads","issues_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues{/number}","pulls_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-oojewale/simple_blog/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-oojewale/simple_blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-oojewale/simple_blog/labels{/name}","releases_url":"https://api.github.com/repos/andela-oojewale/simple_blog/releases{/id}","created_at":"2015-09-12T13:09:17Z","updated_at":"2015-09-12T13:16:30Z","pushed_at":"2015-09-15T16:43:39Z","git_url":"git://github.com/andela-oojewale/simple_blog.git","ssh_url":"git@github.com:andela-oojewale/simple_blog.git","clone_url":"https://github.com/andela-oojewale/simple_blog.git","svn_url":"https://github.com/andela-oojewale/simple_blog","homepage":null,"size":0,"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":"andela-oojewale:master","ref":"master","sha":"96cbc38860337d9421f936951155f190e7e282d5","user":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"repo":{"id":42357385,"name":"simple_blog","full_name":"andela-oojewale/simple_blog","owner":{"login":"andela-oojewale","id":13197538,"avatar_url":"https://avatars.githubusercontent.com/u/13197538?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oojewale","html_url":"https://github.com/andela-oojewale","followers_url":"https://api.github.com/users/andela-oojewale/followers","following_url":"https://api.github.com/users/andela-oojewale/following{/other_user}","gists_url":"https://api.github.com/users/andela-oojewale/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oojewale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oojewale/subscriptions","organizations_url":"https://api.github.com/users/andela-oojewale/orgs","repos_url":"https://api.github.com/users/andela-oojewale/repos","events_url":"https://api.github.com/users/andela-oojewale/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oojewale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-oojewale/simple_blog","description":"","fork":false,"url":"https://api.github.com/repos/andela-oojewale/simple_blog","forks_url":"https://api.github.com/repos/andela-oojewale/simple_blog/forks","keys_url":"https://api.github.com/repos/andela-oojewale/simple_blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-oojewale/simple_blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-oojewale/simple_blog/teams","hooks_url":"https://api.github.com/repos/andela-oojewale/simple_blog/hooks","issue_events_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/events{/number}","events_url":"https://api.github.com/repos/andela-oojewale/simple_blog/events","assignees_url":"https://api.github.com/repos/andela-oojewale/simple_blog/assignees{/user}","branches_url":"https://api.github.com/repos/andela-oojewale/simple_blog/branches{/branch}","tags_url":"https://api.github.com/repos/andela-oojewale/simple_blog/tags","blobs_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-oojewale/simple_blog/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-oojewale/simple_blog/languages","stargazers_url":"https://api.github.com/repos/andela-oojewale/simple_blog/stargazers","contributors_url":"https://api.github.com/repos/andela-oojewale/simple_blog/contributors","subscribers_url":"https://api.github.com/repos/andela-oojewale/simple_blog/subscribers","subscription_url":"https://api.github.com/repos/andela-oojewale/simple_blog/subscription","commits_url":"https://api.github.com/repos/andela-oojewale/simple_blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-oojewale/simple_blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-oojewale/simple_blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-oojewale/simple_blog/contents/{+path}","compare_url":"https://api.github.com/repos/andela-oojewale/simple_blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-oojewale/simple_blog/merges","archive_url":"https://api.github.com/repos/andela-oojewale/simple_blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-oojewale/simple_blog/downloads","issues_url":"https://api.github.com/repos/andela-oojewale/simple_blog/issues{/number}","pulls_url":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-oojewale/simple_blog/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-oojewale/simple_blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-oojewale/simple_blog/labels{/name}","releases_url":"https://api.github.com/repos/andela-oojewale/simple_blog/releases{/id}","created_at":"2015-09-12T13:09:17Z","updated_at":"2015-09-12T13:16:30Z","pushed_at":"2015-09-15T16:43:39Z","git_url":"git://github.com/andela-oojewale/simple_blog.git","ssh_url":"git@github.com:andela-oojewale/simple_blog.git","clone_url":"https://github.com/andela-oojewale/simple_blog.git","svn_url":"https://github.com/andela-oojewale/simple_blog","homepage":null,"size":0,"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/andela-oojewale/simple_blog/pulls/1"},"html":{"href":"https://github.com/andela-oojewale/simple_blog/pull/1"},"issue":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/1"},"comments":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela-oojewale/simple_blog/statuses/5fb669f99e76f60e9aef03bd5cb7aa1d98df90f3"}}}}