{"action":"created","comment":{"url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/comments/243863100","pull_request_review_id":187735879,"id":243863100,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzg2MzEwMA==","diff_hunk":"@@ -1,4 +1,26 @@\n class UsersController < ApplicationController\n+\n+  def show\n+    @user = User.find(params[:id])\n+  end\n+\n   def new\n+    @user = User.new\n+  end\n+\n+  def create\n+    @user = User.new(user_params)\n+    if @user.save\n+      flash[:success] = \"Welcome to the Sample App!\"\n+      redirect_to @user\n+    else\n+      render 'new'\n+    end\n   end\n+\n+  private\n+\n+\tdef user_params","path":"app/controllers/users_controller.rb","position":23,"original_position":23,"commit_id":"21a35036b48a5163de0885d3a9a11ca1f6442956","original_commit_id":"21a35036b48a5163de0885d3a9a11ca1f6442956","user":{"login":"huongnguyenmta","id":18224922,"node_id":"MDQ6VXNlcjE4MjI0OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/18224922?v=4","gravatar_id":"","url":"https://api.github.com/users/huongnguyenmta","html_url":"https://github.com/huongnguyenmta","followers_url":"https://api.github.com/users/huongnguyenmta/followers","following_url":"https://api.github.com/users/huongnguyenmta/following{/other_user}","gists_url":"https://api.github.com/users/huongnguyenmta/gists{/gist_id}","starred_url":"https://api.github.com/users/huongnguyenmta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huongnguyenmta/subscriptions","organizations_url":"https://api.github.com/users/huongnguyenmta/orgs","repos_url":"https://api.github.com/users/huongnguyenmta/repos","events_url":"https://api.github.com/users/huongnguyenmta/events{/privacy}","received_events_url":"https://api.github.com/users/huongnguyenmta/received_events","type":"User","site_admin":false},"body":"indent","created_at":"2018-12-25T00:37:51Z","updated_at":"2018-12-25T00:40:47Z","html_url":"https://github.com/CaDuyDu/SampleApp/pull/5#discussion_r243863100","pull_request_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/comments/243863100"},"html":{"href":"https://github.com/CaDuyDu/SampleApp/pull/5#discussion_r243863100"},"pull_request":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5","id":239725715,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzI1NzE1","html_url":"https://github.com/CaDuyDu/SampleApp/pull/5","diff_url":"https://github.com/CaDuyDu/SampleApp/pull/5.diff","patch_url":"https://github.com/CaDuyDu/SampleApp/pull/5.patch","issue_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/5","number":5,"state":"open","locked":false,"title":"Sign up","user":{"login":"CaDuyDu","id":35342220,"node_id":"MDQ6VXNlcjM1MzQyMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/35342220?v=4","gravatar_id":"","url":"https://api.github.com/users/CaDuyDu","html_url":"https://github.com/CaDuyDu","followers_url":"https://api.github.com/users/CaDuyDu/followers","following_url":"https://api.github.com/users/CaDuyDu/following{/other_user}","gists_url":"https://api.github.com/users/CaDuyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/CaDuyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaDuyDu/subscriptions","organizations_url":"https://api.github.com/users/CaDuyDu/orgs","repos_url":"https://api.github.com/users/CaDuyDu/repos","events_url":"https://api.github.com/users/CaDuyDu/events{/privacy}","received_events_url":"https://api.github.com/users/CaDuyDu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-19T06:29:31Z","updated_at":"2018-12-25T00:40:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d79a8adf0ba9064b02e9b0b9cc27f7376943431c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5/commits","review_comments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5/comments","review_comment_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/5/comments","statuses_url":"https://api.github.com/repos/CaDuyDu/SampleApp/statuses/21a35036b48a5163de0885d3a9a11ca1f6442956","head":{"label":"CaDuyDu:sign-up","ref":"sign-up","sha":"21a35036b48a5163de0885d3a9a11ca1f6442956","user":{"login":"CaDuyDu","id":35342220,"node_id":"MDQ6VXNlcjM1MzQyMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/35342220?v=4","gravatar_id":"","url":"https://api.github.com/users/CaDuyDu","html_url":"https://github.com/CaDuyDu","followers_url":"https://api.github.com/users/CaDuyDu/followers","following_url":"https://api.github.com/users/CaDuyDu/following{/other_user}","gists_url":"https://api.github.com/users/CaDuyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/CaDuyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaDuyDu/subscriptions","organizations_url":"https://api.github.com/users/CaDuyDu/orgs","repos_url":"https://api.github.com/users/CaDuyDu/repos","events_url":"https://api.github.com/users/CaDuyDu/events{/privacy}","received_events_url":"https://api.github.com/users/CaDuyDu/received_events","type":"User","site_admin":false},"repo":{"id":162095147,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIwOTUxNDc=","name":"SampleApp","full_name":"CaDuyDu/SampleApp","private":false,"owner":{"login":"CaDuyDu","id":35342220,"node_id":"MDQ6VXNlcjM1MzQyMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/35342220?v=4","gravatar_id":"","url":"https://api.github.com/users/CaDuyDu","html_url":"https://github.com/CaDuyDu","followers_url":"https://api.github.com/users/CaDuyDu/followers","following_url":"https://api.github.com/users/CaDuyDu/following{/other_user}","gists_url":"https://api.github.com/users/CaDuyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/CaDuyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaDuyDu/subscriptions","organizations_url":"https://api.github.com/users/CaDuyDu/orgs","repos_url":"https://api.github.com/users/CaDuyDu/repos","events_url":"https://api.github.com/users/CaDuyDu/events{/privacy}","received_events_url":"https://api.github.com/users/CaDuyDu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/CaDuyDu/SampleApp","description":null,"fork":false,"url":"https://api.github.com/repos/CaDuyDu/SampleApp","forks_url":"https://api.github.com/repos/CaDuyDu/SampleApp/forks","keys_url":"https://api.github.com/repos/CaDuyDu/SampleApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CaDuyDu/SampleApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CaDuyDu/SampleApp/teams","hooks_url":"https://api.github.com/repos/CaDuyDu/SampleApp/hooks","issue_events_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/events{/number}","events_url":"https://api.github.com/repos/CaDuyDu/SampleApp/events","assignees_url":"https://api.github.com/repos/CaDuyDu/SampleApp/assignees{/user}","branches_url":"https://api.github.com/repos/CaDuyDu/SampleApp/branches{/branch}","tags_url":"https://api.github.com/repos/CaDuyDu/SampleApp/tags","blobs_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CaDuyDu/SampleApp/statuses/{sha}","languages_url":"https://api.github.com/repos/CaDuyDu/SampleApp/languages","stargazers_url":"https://api.github.com/repos/CaDuyDu/SampleApp/stargazers","contributors_url":"https://api.github.com/repos/CaDuyDu/SampleApp/contributors","subscribers_url":"https://api.github.com/repos/CaDuyDu/SampleApp/subscribers","subscription_url":"https://api.github.com/repos/CaDuyDu/SampleApp/subscription","commits_url":"https://api.github.com/repos/CaDuyDu/SampleApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/CaDuyDu/SampleApp/contents/{+path}","compare_url":"https://api.github.com/repos/CaDuyDu/SampleApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CaDuyDu/SampleApp/merges","archive_url":"https://api.github.com/repos/CaDuyDu/SampleApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CaDuyDu/SampleApp/downloads","issues_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues{/number}","pulls_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls{/number}","milestones_url":"https://api.github.com/repos/CaDuyDu/SampleApp/milestones{/number}","notifications_url":"https://api.github.com/repos/CaDuyDu/SampleApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CaDuyDu/SampleApp/labels{/name}","releases_url":"https://api.github.com/repos/CaDuyDu/SampleApp/releases{/id}","deployments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/deployments","created_at":"2018-12-17T08:01:39Z","updated_at":"2018-12-21T06:44:24Z","pushed_at":"2018-12-24T08:32:06Z","git_url":"git://github.com/CaDuyDu/SampleApp.git","ssh_url":"git@github.com:CaDuyDu/SampleApp.git","clone_url":"https://github.com/CaDuyDu/SampleApp.git","svn_url":"https://github.com/CaDuyDu/SampleApp","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"CaDuyDu:master","ref":"master","sha":"17b13d3f492aacc370591ce7d4cd827b7d6f90f5","user":{"login":"CaDuyDu","id":35342220,"node_id":"MDQ6VXNlcjM1MzQyMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/35342220?v=4","gravatar_id":"","url":"https://api.github.com/users/CaDuyDu","html_url":"https://github.com/CaDuyDu","followers_url":"https://api.github.com/users/CaDuyDu/followers","following_url":"https://api.github.com/users/CaDuyDu/following{/other_user}","gists_url":"https://api.github.com/users/CaDuyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/CaDuyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaDuyDu/subscriptions","organizations_url":"https://api.github.com/users/CaDuyDu/orgs","repos_url":"https://api.github.com/users/CaDuyDu/repos","events_url":"https://api.github.com/users/CaDuyDu/events{/privacy}","received_events_url":"https://api.github.com/users/CaDuyDu/received_events","type":"User","site_admin":false},"repo":{"id":162095147,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIwOTUxNDc=","name":"SampleApp","full_name":"CaDuyDu/SampleApp","private":false,"owner":{"login":"CaDuyDu","id":35342220,"node_id":"MDQ6VXNlcjM1MzQyMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/35342220?v=4","gravatar_id":"","url":"https://api.github.com/users/CaDuyDu","html_url":"https://github.com/CaDuyDu","followers_url":"https://api.github.com/users/CaDuyDu/followers","following_url":"https://api.github.com/users/CaDuyDu/following{/other_user}","gists_url":"https://api.github.com/users/CaDuyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/CaDuyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaDuyDu/subscriptions","organizations_url":"https://api.github.com/users/CaDuyDu/orgs","repos_url":"https://api.github.com/users/CaDuyDu/repos","events_url":"https://api.github.com/users/CaDuyDu/events{/privacy}","received_events_url":"https://api.github.com/users/CaDuyDu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/CaDuyDu/SampleApp","description":null,"fork":false,"url":"https://api.github.com/repos/CaDuyDu/SampleApp","forks_url":"https://api.github.com/repos/CaDuyDu/SampleApp/forks","keys_url":"https://api.github.com/repos/CaDuyDu/SampleApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CaDuyDu/SampleApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CaDuyDu/SampleApp/teams","hooks_url":"https://api.github.com/repos/CaDuyDu/SampleApp/hooks","issue_events_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/events{/number}","events_url":"https://api.github.com/repos/CaDuyDu/SampleApp/events","assignees_url":"https://api.github.com/repos/CaDuyDu/SampleApp/assignees{/user}","branches_url":"https://api.github.com/repos/CaDuyDu/SampleApp/branches{/branch}","tags_url":"https://api.github.com/repos/CaDuyDu/SampleApp/tags","blobs_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CaDuyDu/SampleApp/statuses/{sha}","languages_url":"https://api.github.com/repos/CaDuyDu/SampleApp/languages","stargazers_url":"https://api.github.com/repos/CaDuyDu/SampleApp/stargazers","contributors_url":"https://api.github.com/repos/CaDuyDu/SampleApp/contributors","subscribers_url":"https://api.github.com/repos/CaDuyDu/SampleApp/subscribers","subscription_url":"https://api.github.com/repos/CaDuyDu/SampleApp/subscription","commits_url":"https://api.github.com/repos/CaDuyDu/SampleApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/CaDuyDu/SampleApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/CaDuyDu/SampleApp/contents/{+path}","compare_url":"https://api.github.com/repos/CaDuyDu/SampleApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CaDuyDu/SampleApp/merges","archive_url":"https://api.github.com/repos/CaDuyDu/SampleApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CaDuyDu/SampleApp/downloads","issues_url":"https://api.github.com/repos/CaDuyDu/SampleApp/issues{/number}","pulls_url":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls{/number}","milestones_url":"https://api.github.com/repos/CaDuyDu/SampleApp/milestones{/number}","notifications_url":"https://api.github.com/repos/CaDuyDu/SampleApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CaDuyDu/SampleApp/labels{/name}","releases_url":"https://api.github.com/repos/CaDuyDu/SampleApp/releases{/id}","deployments_url":"https://api.github.com/repos/CaDuyDu/SampleApp/deployments","created_at":"2018-12-17T08:01:39Z","updated_at":"2018-12-21T06:44:24Z","pushed_at":"2018-12-24T08:32:06Z","git_url":"git://github.com/CaDuyDu/SampleApp.git","ssh_url":"git@github.com:CaDuyDu/SampleApp.git","clone_url":"https://github.com/CaDuyDu/SampleApp.git","svn_url":"https://github.com/CaDuyDu/SampleApp","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5"},"html":{"href":"https://github.com/CaDuyDu/SampleApp/pull/5"},"issue":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/5"},"comments":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/CaDuyDu/SampleApp/statuses/21a35036b48a5163de0885d3a9a11ca1f6442956"}},"author_association":"OWNER"}}
{"actor":{"display_login":"huongnguyenmta"}}