GitHub PullRequestReviewCommentEvent at 2014-07-28 17:40:43
Repository: wastr
Actor: gabebw
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/amZotti/wastr/pulls/comments/15477460","id":15477460,"diff_hunk":"@@ -0,0 +1,23 @@\n+class PostsController < ApplicationController\n+  def index\n+    @posts = Post.all\n+  end\n+\n+  def new\n+    @post = Post.new\n+  end\n+\n+  def create\n+    post = Post.create(post_params)\n+    redirect_to \"root_path\"","path":"app/controllers/posts_controller.rb","position":12,"original_position":12,"commit_id":"74a6d2ffab27fccbec07bf5906bfbd4b5ebbd675","original_commit_id":"74a6d2ffab27fccbec07bf5906bfbd4b5ebbd675","user":{"login":"gabebw","id":257678,"avatar_url":"https://avatars.githubusercontent.com/u/257678?","gravatar_id":"c2ada1048886a081a615f8a44a3024c7","url":"https://api.github.com/users/gabebw","html_url":"https://github.com/gabebw","followers_url":"https://api.github.com/users/gabebw/followers","following_url":"https://api.github.com/users/gabebw/following{/other_user}","gists_url":"https://api.github.com/users/gabebw/gists{/gist_id}","starred_url":"https://api.github.com/users/gabebw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabebw/subscriptions","organizations_url":"https://api.github.com/users/gabebw/orgs","repos_url":"https://api.github.com/users/gabebw/repos","events_url":"https://api.github.com/users/gabebw/events{/privacy}","received_events_url":"https://api.github.com/users/gabebw/received_events","type":"User","site_admin":false},"body":"This is redirecting to the string `\"root_path\"`. That's not a path in your app - does `localhost:3000/root_path` go anywhere?\r\n\r\nThis should redirect to the string returned by the *method* `root_path`.","created_at":"2014-07-28T17:40:43Z","updated_at":"2014-07-28T17:40:43Z","html_url":"https://github.com/amZotti/wastr/pull/2#discussion_r15477460","pull_request_url":"https://api.github.com/repos/amZotti/wastr/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/amZotti/wastr/pulls/comments/15477460"},"html":{"href":"https://github.com/amZotti/wastr/pull/2#discussion_r15477460"},"pull_request":{"href":"https://api.github.com/repos/amZotti/wastr/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/amZotti/wastr/pulls/2","id":18973024,"html_url":"https://github.com/amZotti/wastr/pull/2","diff_url":"https://github.com/amZotti/wastr/pull/2.diff","patch_url":"https://github.com/amZotti/wastr/pull/2.patch","issue_url":"https://api.github.com/repos/amZotti/wastr/issues/2","number":2,"state":"open","title":"Add post index","user":{"login":"liantics","id":3310162,"avatar_url":"https://avatars.githubusercontent.com/u/3310162?","gravatar_id":"768ff9057a85f808fdf685136baf890a","url":"https://api.github.com/users/liantics","html_url":"https://github.com/liantics","followers_url":"https://api.github.com/users/liantics/followers","following_url":"https://api.github.com/users/liantics/following{/other_user}","gists_url":"https://api.github.com/users/liantics/gists{/gist_id}","starred_url":"https://api.github.com/users/liantics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liantics/subscriptions","organizations_url":"https://api.github.com/users/liantics/orgs","repos_url":"https://api.github.com/users/liantics/repos","events_url":"https://api.github.com/users/liantics/events{/privacy}","received_events_url":"https://api.github.com/users/liantics/received_events","type":"User","site_admin":false},"body":"Add an index page for posts\r\nAdd post controller\r\nAdd post model\r\nAdd post migration\r\nAdd post form\r\nAdd post partial\r\nPost#create\r\nPost#new","created_at":"2014-07-28T15:13:00Z","updated_at":"2014-07-28T17:40:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5ec58ee6c81f4e891274f18d9b1138c73e5683a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amZotti/wastr/pulls/2/commits","review_comments_url":"https://api.github.com/repos/amZotti/wastr/pulls/2/comments","review_comment_url":"https://api.github.com/repos/amZotti/wastr/pulls/comments/{number}","comments_url":"https://api.github.com/repos/amZotti/wastr/issues/2/comments","statuses_url":"https://api.github.com/repos/amZotti/wastr/statuses/74a6d2ffab27fccbec07bf5906bfbd4b5ebbd675","head":{"label":"amZotti:add-post-index","ref":"add-post-index","sha":"74a6d2ffab27fccbec07bf5906bfbd4b5ebbd675","user":{"login":"amZotti","id":5640348,"avatar_url":"https://avatars.githubusercontent.com/u/5640348?","gravatar_id":"97d7a1c31dad9d8c2af6213a98813de9","url":"https://api.github.com/users/amZotti","html_url":"https://github.com/amZotti","followers_url":"https://api.github.com/users/amZotti/followers","following_url":"https://api.github.com/users/amZotti/following{/other_user}","gists_url":"https://api.github.com/users/amZotti/gists{/gist_id}","starred_url":"https://api.github.com/users/amZotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amZotti/subscriptions","organizations_url":"https://api.github.com/users/amZotti/orgs","repos_url":"https://api.github.com/users/amZotti/repos","events_url":"https://api.github.com/users/amZotti/events{/privacy}","received_events_url":"https://api.github.com/users/amZotti/received_events","type":"User","site_admin":false},"repo":{"id":22344400,"name":"wastr","full_name":"amZotti/wastr","owner":{"login":"amZotti","id":5640348,"avatar_url":"https://avatars.githubusercontent.com/u/5640348?","gravatar_id":"97d7a1c31dad9d8c2af6213a98813de9","url":"https://api.github.com/users/amZotti","html_url":"https://github.com/amZotti","followers_url":"https://api.github.com/users/amZotti/followers","following_url":"https://api.github.com/users/amZotti/following{/other_user}","gists_url":"https://api.github.com/users/amZotti/gists{/gist_id}","starred_url":"https://api.github.com/users/amZotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amZotti/subscriptions","organizations_url":"https://api.github.com/users/amZotti/orgs","repos_url":"https://api.github.com/users/amZotti/repos","events_url":"https://api.github.com/users/amZotti/events{/privacy}","received_events_url":"https://api.github.com/users/amZotti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amZotti/wastr","description":"A Reddit clone.","fork":false,"url":"https://api.github.com/repos/amZotti/wastr","forks_url":"https://api.github.com/repos/amZotti/wastr/forks","keys_url":"https://api.github.com/repos/amZotti/wastr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amZotti/wastr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amZotti/wastr/teams","hooks_url":"https://api.github.com/repos/amZotti/wastr/hooks","issue_events_url":"https://api.github.com/repos/amZotti/wastr/issues/events{/number}","events_url":"https://api.github.com/repos/amZotti/wastr/events","assignees_url":"https://api.github.com/repos/amZotti/wastr/assignees{/user}","branches_url":"https://api.github.com/repos/amZotti/wastr/branches{/branch}","tags_url":"https://api.github.com/repos/amZotti/wastr/tags","blobs_url":"https://api.github.com/repos/amZotti/wastr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amZotti/wastr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amZotti/wastr/git/refs{/sha}","trees_url":"https://api.github.com/repos/amZotti/wastr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amZotti/wastr/statuses/{sha}","languages_url":"https://api.github.com/repos/amZotti/wastr/languages","stargazers_url":"https://api.github.com/repos/amZotti/wastr/stargazers","contributors_url":"https://api.github.com/repos/amZotti/wastr/contributors","subscribers_url":"https://api.github.com/repos/amZotti/wastr/subscribers","subscription_url":"https://api.github.com/repos/amZotti/wastr/subscription","commits_url":"https://api.github.com/repos/amZotti/wastr/commits{/sha}","git_commits_url":"https://api.github.com/repos/amZotti/wastr/git/commits{/sha}","comments_url":"https://api.github.com/repos/amZotti/wastr/comments{/number}","issue_comment_url":"https://api.github.com/repos/amZotti/wastr/issues/comments/{number}","contents_url":"https://api.github.com/repos/amZotti/wastr/contents/{+path}","compare_url":"https://api.github.com/repos/amZotti/wastr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amZotti/wastr/merges","archive_url":"https://api.github.com/repos/amZotti/wastr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amZotti/wastr/downloads","issues_url":"https://api.github.com/repos/amZotti/wastr/issues{/number}","pulls_url":"https://api.github.com/repos/amZotti/wastr/pulls{/number}","milestones_url":"https://api.github.com/repos/amZotti/wastr/milestones{/number}","notifications_url":"https://api.github.com/repos/amZotti/wastr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amZotti/wastr/labels{/name}","releases_url":"https://api.github.com/repos/amZotti/wastr/releases{/id}","created_at":"2014-07-28T13:58:52Z","updated_at":"2014-07-28T13:59:32Z","pushed_at":"2014-07-28T17:38:44Z","git_url":"git://github.com/amZotti/wastr.git","ssh_url":"git@github.com:amZotti/wastr.git","clone_url":"https://github.com/amZotti/wastr.git","svn_url":"https://github.com/amZotti/wastr","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amZotti:master","ref":"master","sha":"0424a75734a65f458f8e568e925c0244f37a93b0","user":{"login":"amZotti","id":5640348,"avatar_url":"https://avatars.githubusercontent.com/u/5640348?","gravatar_id":"97d7a1c31dad9d8c2af6213a98813de9","url":"https://api.github.com/users/amZotti","html_url":"https://github.com/amZotti","followers_url":"https://api.github.com/users/amZotti/followers","following_url":"https://api.github.com/users/amZotti/following{/other_user}","gists_url":"https://api.github.com/users/amZotti/gists{/gist_id}","starred_url":"https://api.github.com/users/amZotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amZotti/subscriptions","organizations_url":"https://api.github.com/users/amZotti/orgs","repos_url":"https://api.github.com/users/amZotti/repos","events_url":"https://api.github.com/users/amZotti/events{/privacy}","received_events_url":"https://api.github.com/users/amZotti/received_events","type":"User","site_admin":false},"repo":{"id":22344400,"name":"wastr","full_name":"amZotti/wastr","owner":{"login":"amZotti","id":5640348,"avatar_url":"https://avatars.githubusercontent.com/u/5640348?","gravatar_id":"97d7a1c31dad9d8c2af6213a98813de9","url":"https://api.github.com/users/amZotti","html_url":"https://github.com/amZotti","followers_url":"https://api.github.com/users/amZotti/followers","following_url":"https://api.github.com/users/amZotti/following{/other_user}","gists_url":"https://api.github.com/users/amZotti/gists{/gist_id}","starred_url":"https://api.github.com/users/amZotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amZotti/subscriptions","organizations_url":"https://api.github.com/users/amZotti/orgs","repos_url":"https://api.github.com/users/amZotti/repos","events_url":"https://api.github.com/users/amZotti/events{/privacy}","received_events_url":"https://api.github.com/users/amZotti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amZotti/wastr","description":"A Reddit clone.","fork":false,"url":"https://api.github.com/repos/amZotti/wastr","forks_url":"https://api.github.com/repos/amZotti/wastr/forks","keys_url":"https://api.github.com/repos/amZotti/wastr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amZotti/wastr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amZotti/wastr/teams","hooks_url":"https://api.github.com/repos/amZotti/wastr/hooks","issue_events_url":"https://api.github.com/repos/amZotti/wastr/issues/events{/number}","events_url":"https://api.github.com/repos/amZotti/wastr/events","assignees_url":"https://api.github.com/repos/amZotti/wastr/assignees{/user}","branches_url":"https://api.github.com/repos/amZotti/wastr/branches{/branch}","tags_url":"https://api.github.com/repos/amZotti/wastr/tags","blobs_url":"https://api.github.com/repos/amZotti/wastr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amZotti/wastr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amZotti/wastr/git/refs{/sha}","trees_url":"https://api.github.com/repos/amZotti/wastr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amZotti/wastr/statuses/{sha}","languages_url":"https://api.github.com/repos/amZotti/wastr/languages","stargazers_url":"https://api.github.com/repos/amZotti/wastr/stargazers","contributors_url":"https://api.github.com/repos/amZotti/wastr/contributors","subscribers_url":"https://api.github.com/repos/amZotti/wastr/subscribers","subscription_url":"https://api.github.com/repos/amZotti/wastr/subscription","commits_url":"https://api.github.com/repos/amZotti/wastr/commits{/sha}","git_commits_url":"https://api.github.com/repos/amZotti/wastr/git/commits{/sha}","comments_url":"https://api.github.com/repos/amZotti/wastr/comments{/number}","issue_comment_url":"https://api.github.com/repos/amZotti/wastr/issues/comments/{number}","contents_url":"https://api.github.com/repos/amZotti/wastr/contents/{+path}","compare_url":"https://api.github.com/repos/amZotti/wastr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amZotti/wastr/merges","archive_url":"https://api.github.com/repos/amZotti/wastr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amZotti/wastr/downloads","issues_url":"https://api.github.com/repos/amZotti/wastr/issues{/number}","pulls_url":"https://api.github.com/repos/amZotti/wastr/pulls{/number}","milestones_url":"https://api.github.com/repos/amZotti/wastr/milestones{/number}","notifications_url":"https://api.github.com/repos/amZotti/wastr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amZotti/wastr/labels{/name}","releases_url":"https://api.github.com/repos/amZotti/wastr/releases{/id}","created_at":"2014-07-28T13:58:52Z","updated_at":"2014-07-28T13:59:32Z","pushed_at":"2014-07-28T17:38:44Z","git_url":"git://github.com/amZotti/wastr.git","ssh_url":"git@github.com:amZotti/wastr.git","clone_url":"https://github.com/amZotti/wastr.git","svn_url":"https://github.com/amZotti/wastr","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"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/amZotti/wastr/pulls/2"},"html":{"href":"https://github.com/amZotti/wastr/pull/2"},"issue":{"href":"https://api.github.com/repos/amZotti/wastr/issues/2"},"comments":{"href":"https://api.github.com/repos/amZotti/wastr/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/amZotti/wastr/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/amZotti/wastr/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/amZotti/wastr/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/amZotti/wastr/statuses/74a6d2ffab27fccbec07bf5906bfbd4b5ebbd675"}}}}